Interface: ChatCompletionsToolCallWire
Defined in: src/batteries/llm/openai_chat_completions/types.ts:101
Wire representation of a tool call in a chat completion response or request.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
function? | { arguments?: string; name?: string; } | Function detail payload. | src/batteries/llm/openai_chat_completions/types.ts:113 |
function.arguments? | string | - | src/batteries/llm/openai_chat_completions/types.ts:115 |
function.name? | string | - | src/batteries/llm/openai_chat_completions/types.ts:114 |
id | string | Unique identifier for the tool call. | src/batteries/llm/openai_chat_completions/types.ts:105 |
type? | "function" | Type of the tool call, typically 'function'. | src/batteries/llm/openai_chat_completions/types.ts:109 |