> ## Documentation Index
> Fetch the complete documentation index at: https://docs.ag2.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# autogen.oai.oai_models.ChatCompletionMessageToolCall

<h2 id="autogen.oai.oai_models.ChatCompletionMessageToolCall" class="doc doc-heading">
  <code class="doc-symbol doc-symbol-heading doc-symbol-class" />

  <span class="doc doc-object-name doc-class-name">ChatCompletionMessageToolCall</span>
</h2>

```python theme={null}
ChatCompletionMessageToolCall(**data: Any)
```

!!! abstract "Usage Documentation"
[Models](/docs/api-reference/autogen/oai/concepts/models)

A base class for creating Pydantic models.<br />

<b>Parameters:</b>

| Name     | Description   |
| -------- | ------------- |
| `**data` | **Type:** Any |

### Class Attributes

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### function

<br />

The function that the model called.

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### id

<br />

The ID of the tool call.

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### model\_config

<br />

<br />

<code class="doc-symbol doc-symbol-heading doc-symbol-attribute" />

#### type

<br />

The type of the tool. Currently, only `function` is supported.
