Skip to content

ToolResultPayload

optional imperative?: boolean;

Set when the call originated from imperative ctx.tool, not the model.


optional preliminary?: boolean;

A chunk from a still-running async-iterable tool. The final result follows without it.


result: unknown;

optional toolCallId?: string;

toolName: string;