ToolResultPayload
Properties
Section titled “Properties”imperative?
Section titled “imperative?”optional imperative?: boolean;Set when the call originated from imperative ctx.tool, not the model.
preliminary?
Section titled “preliminary?”optional preliminary?: boolean;A chunk from a still-running async-iterable tool. The final result follows without it.
result
Section titled “result”result: unknown;toolCallId?
Section titled “toolCallId?”optional toolCallId?: string;toolName
Section titled “toolName”toolName: string;