Skip to content
1 min read · 107 words

Interface: OllamaToolCall ​

Defined in: src/batteries/llm/ollama/types.ts:145

A native Ollama tool call as returned on a response/stream message. Note: arguments is a parsed JSON OBJECT (not a string), and there is no id or type field — the adapter synthesizes a correlation id.

Properties ​

PropertyTypeDescriptionDefined in
function{ arguments: Record<string, unknown>; name: string; }The called function: its name and its parsed-JSON-object arguments.src/batteries/llm/ollama/types.ts:147
function.argumentsRecord<string, unknown>-src/batteries/llm/ollama/types.ts:149
function.namestring-src/batteries/llm/ollama/types.ts:148