ToolCallFields
ToolCallFields =
object
Defined in: packages/schema/src/model.ts:1155
The fields a thread reads of each tool call it draws between its messages: the tool’s name, when it was called
(time), its status, whose values done, error and running give its mark, and what opens under it: its
input and result, shown as pretty JSON, and its error.
Properties
Section titled “Properties”error?
Section titled “error?”
optionalerror?:string
Defined in: packages/schema/src/model.ts:1167
Why it failed: a text field.
input?
Section titled “input?”
optionalinput?:string
Defined in: packages/schema/src/model.ts:1163
What it was called with, shown as pretty JSON.
name:
string
Defined in: packages/schema/src/model.ts:1157
The tool’s name: a text field.
result?
Section titled “result?”
optionalresult?:string
Defined in: packages/schema/src/model.ts:1165
What it gave back, shown as pretty JSON.
status
Section titled “status”status:
string
Defined in: packages/schema/src/model.ts:1161
Its status: a text or enum field whose values done, error and running give its mark.
time:
string
Defined in: packages/schema/src/model.ts:1159
When it was called: a date or timestamp field the API can sort by.