---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/llm/openai_chat_completions/types/interfaces/ChatCompletionsToolCallDelta.md
description: Part of a tool call in a streaming response.
---

# Interface: ChatCompletionsToolCallDelta

Defined in: [src/batteries/llm/openai\_chat\_completions/types.ts:164](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L164)

Part of a tool call in a streaming response.

## Properties

| Property                                   | Type                                             | Description                               | Defined in                                                                                                                                                            |
| ------------------------------------------ | ------------------------------------------------ | ----------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|  `function?` | { `arguments?`: `string`; `name?`: `string`; } | The partial function name or arguments.   | [src/batteries/llm/openai\_chat\_completions/types.ts:180](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L180) |
| `function.arguments?`                      | `string`                                         | -                                         | [src/batteries/llm/openai\_chat\_completions/types.ts:182](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L182) |
| `function.name?`                           | `string`                                         | -                                         | [src/batteries/llm/openai\_chat\_completions/types.ts:181](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L181) |
|  `id?`             | `string`                                         | The identifier of the tool call.          | [src/batteries/llm/openai\_chat\_completions/types.ts:172](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L172) |
|  `index`        | `number`                                         | The index of the tool call in the stream. | [src/batteries/llm/openai\_chat\_completions/types.ts:168](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L168) |
|  `type?`         | `"function"`                                     | The tool type, typically 'function'.      | [src/batteries/llm/openai\_chat\_completions/types.ts:176](https://github.com/NHTIO/ADK/blob/v1.20261003.0/src/src/batteries/llm/openai_chat_completions/types.ts#L176) |
