---
title: ToolCall
description: The ToolCall object containing tool invocation details.
---

The `ToolCall` object containing tool invocation details.

## Attributes

#### `id` (String)

A string containing the unique identifier of the tool call.

#### `function` (Object)

An object containing the function call details.

- `name` (String) - A string containing the name of the function to call.

- `arguments` (String) - A string containing the JSON-encoded arguments for the function.
