> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-7021d5f4.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# ResponsesRequestToolUnion - Python SDK

> ResponsesRequestToolUnion method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

## Supported Types

### `components.ResponsesRequestToolFunction`

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

### `components.PreviewWebSearchServerTool`

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

### `components.Preview20250311WebSearchServerTool`

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

### `components.LegacyWebSearchServerTool`

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

### `components.WebSearchServerTool`

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

### `components.FileSearchServerTool`

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

### `components.ComputerUseServerTool`

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

### `components.CodeInterpreterServerTool`

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

### `components.McpServerTool`

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

### `components.ImageGenerationServerTool`

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

### `components.CodexLocalShellTool`

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

### `components.ShellServerTool`

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

### `components.ApplyPatchServerTool`

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

### `components.CustomTool`

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

### `components.DatetimeServerTool`

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

### `components.FusionServerToolOpenRouter`

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

### `components.ImageGenerationServerToolOpenRouter`

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

### `components.ChatSearchModelsServerTool`

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

### `components.WebFetchServerTool`

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

### `components.WebSearchServerToolOpenRouter`

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

### `components.ApplyPatchServerToolOpenRouter`

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