> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/nemo/relay/llms.txt.
> For full documentation content, see https://docs.nvidia.com/nemo/relay/llms-full.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/nemo/relay/_mcp/server.

# Enum Tool Choice

> Tool choice control: how the model should use available tools.

Generated from `cargo doc --no-deps -p nemo-relay -p nemo-relay-adaptive -p nemo-relay-ffi`.

<pre />

Tool choice control: how the model should use available tools.

## Variants

### `Auto`

<pre />

Let the model decide whether to call a tool.

### `None`

<pre />

Do not call any tools.

### `Required`

<pre />

The model must call at least one tool.

### `Specific(ToolChoiceFunction)`

<pre />

Force a specific function by name.

## Trait Implementations

### `impl Clone for ToolChoice`

<pre />

#### `clone`

<pre />

#### `clone_from`

<pre />

### `impl Debug for ToolChoice`

<pre />

#### `fmt`

<pre />

### `impl<'de> Deserialize<'de> for ToolChoice`

<pre />

#### `deserialize`

<pre />

### `impl PartialEq for ToolChoice`

<pre />

#### `eq`

<pre />

#### `ne`

<pre />

### `impl Serialize for ToolChoice`

<pre />

#### `serialize`

<pre />

### `impl StructuralPartialEq for ToolChoice`

<pre />