ToolInvocation
Defined in: types.ts:117
Tool invocation with result.
Properties
Section titled “Properties”args:
Record<string,unknown>
Defined in: types.ts:123
Tool arguments
result?
Section titled “result?”
optionalresult:unknown
Defined in: types.ts:125
Tool result
state:
"pending"|"completed"|"error"
Defined in: types.ts:127
Invocation state
toolCallId
Section titled “toolCallId”toolCallId:
string
Defined in: types.ts:119
Tool call ID
toolName
Section titled “toolName”toolName:
string
Defined in: types.ts:121
Tool name