Skip to content
1 min read · 109 words

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 ​

PropertyTypeDescriptionDefined 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
idstringUnique 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