ToolCall
Defined in: core/src/types.ts:89
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:92
id: string;Defined in: core/src/types.ts:90
name: string;Defined in: core/src/types.ts:91
thoughtSignature?
Section titled “thoughtSignature?”optional thoughtSignature?: string;Defined in: core/src/types.ts:95
Gemini’s opaque reasoning token. It must ride back on the next turn verbatim or the model loses its own chain of thought.