mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
76 lines
1.4 KiB
Plaintext
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 */
|
|
```
|
|
|