Interface: IToolCallPart
Defined in: contracts/types.ts:109
The model asked for a tool: one call of one tool, in an assistant turn.
Written by the TurnBuilder from a step of the agent loop. Its outcome is the IToolResultPart with the same callId,
in the TOOL turn that follows.
Properties
callId
callId:
string
Defined in: contracts/types.ts:113
The model's id of the call; the IToolResultPart that answers it carries the same.
input
input:
unknown
Defined in: contracts/types.ts:117
Validated input.
kind
kind:
TOOL_CALL
Defined in: contracts/types.ts:111
The discriminant of TTurnPart.
toolName
toolName:
string
Defined in: contracts/types.ts:115
The tool, as the model named it.