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

# OpenAIResponsesToolChoiceFunction

## Example Usage

```typescript theme={null}
import { OpenAIResponsesToolChoiceFunction } from "@openrouter/sdk/models";

let value: OpenAIResponsesToolChoiceFunction = {
  name: "<value>",
  type: "function",
};
```

## Fields

| Field  | Type                                                                                                | Required             | Description |
| ------ | --------------------------------------------------------------------------------------------------- | -------------------- | ----------- |
| `name` | *string*                                                                                            | :heavy\_check\_mark: | N/A         |
| `type` | [models.OpenAIResponsesToolChoiceTypeFunction](../models/openairesponsestoolchoicetypefunction.mdx) | :heavy\_check\_mark: | N/A         |
