Files
openrouter-python-sdk-retry…/docs/components/chatfunctiontool.mdx
T
github-actions[bot]GitHubspeakeasybotspeakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
28299a788d chore: 🐝 Update SDK - Generate (spec change merged) 0.11.1 (#385)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
2026-07-01 16:17:40 +00:00

76 lines
1.4 KiB
Plaintext

---
title: "ChatFunctionTool"
---
Tool definition for function calling (regular function or OpenRouter built-in server tool)
## Supported Types
### `components.ChatFunctionToolFunction`
```python
value: components.ChatFunctionToolFunction = /* values here */
```
### `components.AdvisorServerToolOpenRouter`
```python
value: components.AdvisorServerToolOpenRouter = /* values here */
```
### `components.BashServerTool`
```python
value: components.BashServerTool = /* values here */
```
### `components.DatetimeServerTool`
```python
value: components.DatetimeServerTool = /* values here */
```
### `components.FilesServerTool`
```python
value: components.FilesServerTool = /* values here */
```
### `components.ImageGenerationServerToolOpenRouter`
```python
value: components.ImageGenerationServerToolOpenRouter = /* values here */
```
### `components.ChatSearchModelsServerTool`
```python
value: components.ChatSearchModelsServerTool = /* values here */
```
### `components.SubagentServerToolOpenRouter`
```python
value: components.SubagentServerToolOpenRouter = /* values here */
```
### `components.WebFetchServerTool`
```python
value: components.WebFetchServerTool = /* values here */
```
### `components.OpenRouterWebSearchServerTool`
```python
value: components.OpenRouterWebSearchServerTool = /* values here */
```
### `components.ChatWebSearchShorthand`
```python
value: components.ChatWebSearchShorthand = /* values here */
```