# tool_call_chunk

> **Function** in `langchain_core`

📖 [View in docs](https://reference.langchain.com/python/langchain-core/messages/tool/tool_call_chunk)

Create a tool call chunk.

## Signature

```python
tool_call_chunk(
    *,
    name: str | None = None,
    args: str | None = None,
    id: str | None = None,
    index: int | None = None,
) -> ToolCallChunk
```

## Parameters

| Name | Type | Required | Description |
|------|------|----------|-------------|
| `name` | `str \| None` | No | The name of the tool to be called. (default: `None`) |
| `args` | `str \| None` | No | The arguments to the tool call as a JSON string. (default: `None`) |
| `id` | `str \| None` | No | An identifier associated with the tool call. (default: `None`) |
| `index` | `int \| None` | No | The index of the tool call in a sequence. (default: `None`) |

## Returns

`ToolCallChunk`

The created tool call chunk.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/6fb37dba71da807af60aa7b909f71f0625a666bf/libs/core/langchain_core/messages/tool.py#L303)