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

# OpenResponsesResultToolUnion - Python SDK

> OpenResponsesResultToolUnion 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.OpenResponsesResultToolFunction`

```python lines theme={null}
value: components.OpenResponsesResultToolFunction = /* 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 */
```
