ToolCall
Defined in: core/src/types.ts:78
A tool the model asked to run. arguments is the RAW JSON string, not a
parsed object: it arrives in fragments and can be truncated mid-stream.
collectTurn joins the fragments; healing and validating them is the
consumer’s job (see tools/define).
Properties
Section titled “Properties”arguments
Section titled “arguments”arguments: string;Defined in: core/src/types.ts:81
id: string;Defined in: core/src/types.ts:79
name: string;Defined in: core/src/types.ts:80
thoughtSignature?
Section titled “thoughtSignature?”optional thoughtSignature?: string;Defined in: core/src/types.ts:84
Gemini’s opaque reasoning token. It must ride back on the next turn verbatim or the model loses its own chain of thought.