CustomToolCallOutputItem - Python SDK

CustomToolCallOutputItem method reference

The Python SDK and docs are currently in beta. Report issues on GitHub.

The output from a custom (freeform-grammar) tool call execution. Mirrors function_call_output but is matched to a custom_tool_call rather than a function_call.

Fields

FieldTypeRequiredDescription
call_idstr✔️N/A
idOptional[str]N/A
outputcomponents.CustomToolCallOutputItemOutputUnion2✔️N/A
typecomponents.CustomToolCallOutputItemTypeCustomToolCallOutput✔️N/A