---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/ollama/types/interfaces/OllamaToolCall.md
description: >-
  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.
---

# Interface: OllamaToolCall

Defined in: [src/batteries/llm/ollama/types.ts:145](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/ollama/types.ts#L145)

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

| Property                                  | Type                                                                                                                                                     | Description                                                         | Defined in                                                                                                                          |
| ----------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------- |
|  `function` | { `arguments`: [`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)<`string`, `unknown`>; `name`: `string`; } | The called function: its name and its parsed-JSON-object arguments. | [src/batteries/llm/ollama/types.ts:147](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/ollama/types.ts#L147) |
| `function.arguments`                      | [`Record`](https://www.typescriptlang.org/docs/handbook/utility-types.html#recordkeys-type)<`string`, `unknown`>                                       | -                                                                   | [src/batteries/llm/ollama/types.ts:149](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/ollama/types.ts#L149) |
| `function.name`                           | `string`                                                                                                                                                 | -                                                                   | [src/batteries/llm/ollama/types.ts:148](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/ollama/types.ts#L148) |
