ToolApproval interface
The data provided during a tool outputs submission to resolve pending tool calls and allow the model to continue.
Properties
| approve | The approval boolean value to be submitted. |
| headers | Headers to be attached to the approval. |
| tool |
The ID of the tool call being resolved, as provided in the tool calls of a required action from a run. |
Property Details
approve
The approval boolean value to be submitted.
approve: boolean
Property Value
boolean
headers
Headers to be attached to the approval.
headers?: Record<string, string>
Property Value
Record<string, string>
toolCallId
The ID of the tool call being resolved, as provided in the tool calls of a required action from a run.
toolCallId: string
Property Value
string