ToolCall.
One call of a tool inside a turn: the tool, its inputs, and what it became, a card or a refusal
Figure 1ToolCallspecified
- kind
- value
- scope
- none
- key
- none
- store
- none
- family
- harness
Fields#
| field | type | required | note |
|---|---|---|---|
tool | Tool | yes | |
inputs | json | yes | the tool’s input type, serialized |
card | Card | no | the answer, once the call completed |
refusal | Refusal | no | why it was not run, once the call failed |
Routes that use it#
No route takes or returns ToolCall directly. The record holds it, and the objects that point at it reach it.