ToolCallMessage
Agent Runtimes / types/chat / ToolCallMessage
Interface: ToolCallMessage
Defined in: src/types/chat.ts:129
Internal type for tracking tool calls in messages
Properties
args
args:
Record<string,unknown>
Defined in: src/types/chat.ts:134
codeError?
optionalcodeError?:object
Defined in: src/types/chat.ts:141
Code error details (Python exception)
name
name:
string
traceback?
optionaltraceback?:string
value
value:
string
error?
optionalerror?:string
Defined in: src/types/chat.ts:137
executionError?
optionalexecutionError?:string
Defined in: src/types/chat.ts:139
Infrastructure/execution error message
exitCode?
optionalexitCode?:number|null
Defined in: src/types/chat.ts:147
Exit code when code called sys.exit()
id
id:
string
Defined in: src/types/chat.ts:130
result?
optionalresult?:unknown
Defined in: src/types/chat.ts:135
status
status:
DisplayToolCallStatus
Defined in: src/types/chat.ts:136
toolCallId
toolCallId:
string
Defined in: src/types/chat.ts:132
toolName
toolName:
string
Defined in: src/types/chat.ts:133
type
type:
"tool-call"
Defined in: src/types/chat.ts:131