---
title: "ChatNamedToolChoice"
---

Named tool choice for specific function


## Fields

| Field                                                                                  | Type                                                                                   | Required                                                                               | Description                                                                            |
| -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------- |
| `function`                                                                             | [components.ChatNamedToolChoiceFunction](../components/chatnamedtoolchoicefunction.mdx) | :heavy_check_mark:                                                                     | N/A                                                                                    |
| `type`                                                                                 | [components.ChatNamedToolChoiceType](../components/chatnamedtoolchoicetype.mdx)         | :heavy_check_mark:                                                                     | N/A                                                                                    |