API Reference
ToolCallType
Defined in: types/tool-calls.ts:18
The kind of tool call.
Remarks
The OpenAI chat-completions format defines exactly one value, "function"; a
single-member string enum keeps the call sites named while serializing to
that same wire string.
Enumeration Members
| Enumeration Member | Value | Description | Defined in |
|---|---|---|---|
Function | "function" | A function tool call — the only kind the wire format defines. | types/tool-calls.ts:20 |