Skip to content

ToolCallOk

A normalized successful tool result, as returned to the gateway.

PropertyTypeDescription
oktrueDiscriminant: the call succeeded.
resultToolResultThe wrapped result ({ text, structured? }).
structuredContent?unknownThe spec structuredContent object — present only when the invoked tool declared an output schema and the handler returned a structured value. Mirrors result.structured so a host can lift it straight into the tools/call result alongside the text content block.