> ## 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.

# ChatFunctionTool

Tool definition for function calling (regular function or OpenRouter built-in server tool)

## Supported Types

### `components.ChatFunctionToolFunction`

```python theme={null}
value: components.ChatFunctionToolFunction = /* values here */
```

### `components.AdvisorServerToolOpenRouter`

```python theme={null}
value: components.AdvisorServerToolOpenRouter = /* values here */
```

### `components.BashServerTool`

```python theme={null}
value: components.BashServerTool = /* values here */
```

### `components.DatetimeServerTool`

```python theme={null}
value: components.DatetimeServerTool = /* values here */
```

### `components.FilesServerTool`

```python theme={null}
value: components.FilesServerTool = /* values here */
```

### `components.FusionServerToolOpenRouter`

```python theme={null}
value: components.FusionServerToolOpenRouter = /* values here */
```

### `components.ImageGenerationServerToolOpenRouter`

```python theme={null}
value: components.ImageGenerationServerToolOpenRouter = /* values here */
```

### `components.ChatSearchModelsServerTool`

```python theme={null}
value: components.ChatSearchModelsServerTool = /* values here */
```

### `components.SubagentServerToolOpenRouter`

```python theme={null}
value: components.SubagentServerToolOpenRouter = /* values here */
```

### `components.WebFetchServerTool`

```python theme={null}
value: components.WebFetchServerTool = /* values here */
```

### `components.OpenRouterWebSearchServerTool`

```python theme={null}
value: components.OpenRouterWebSearchServerTool = /* values here */
```

### `components.ChatWebSearchShorthand`

```python theme={null}
value: components.ChatWebSearchShorthand = /* values here */
```
