ToolCallMessage
Agent Runtimes / types/chat / ToolCallMessage
Interface: ToolCallMessage
Defined in: types/chat.ts:85
Internal type for tracking tool calls in messages
Properties
args
args:
Record<string,unknown>
Defined in: types/chat.ts:90
codeError?
optionalcodeError?:object
Defined in: types/chat.ts:97
Code error details (Python exception)
name
name:
string
traceback?
optionaltraceback?:string
value
value:
string
error?
optionalerror?:string
Defined in: types/chat.ts:93
executionError?
optionalexecutionError?:string
Defined in: types/chat.ts:95
Infrastructure/execution error message
exitCode?
optionalexitCode?:number|null
Defined in: types/chat.ts:103
Exit code when code called sys.exit()
id
id:
string
Defined in: types/chat.ts:86
result?
optionalresult?:unknown
Defined in: types/chat.ts:91
status
status:
DisplayToolCallStatus
Defined in: types/chat.ts:92
toolCallId
toolCallId:
string
Defined in: types/chat.ts:88
toolName
toolName:
string
Defined in: types/chat.ts:89
type
type:
"tool-call"
Defined in: types/chat.ts:87