ChatStreamToolCall - Go SDK

ChatStreamToolCall type definition

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

Tool call delta for streaming responses

Fields

FieldTypeRequiredDescriptionExample
Function*components.ChatStreamToolCallFunctionFunction call details
ID*stringTool call identifiercall_abc123
Indexint64✔️Tool call index in the array0
Type*components.ChatStreamToolCallTypeTool call typefunction