ToolResponseContent
Tool/function execution response returned to the LLM.Fields
Must be
"tool-response".Zero-based index matching the tool call. Minimum: 0.
Identifier matching the tool call
id.Name of the function that was called.
JSON-encoded string of the function result.
Optional API response metadata with
status_code. Aliased as apiResponse in JSON.Example
Related
- ToolCallContent — the corresponding tool call request
- MessageContent — union wrapper for all content types
- PromptMessage — chat message containing content arrays