chore: 🐝 Update SDK - Generate (spec change merged) 0.11.18 (#424)

Co-authored-by: speakeasybot <bot@speakeasyapi.dev>
Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2026-07-10 01:23:02 +00:00
committed by GitHub
co-authored by speakeasybot speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com>
parent 0ade477fcc
commit d78ff13303
19 changed files with 802 additions and 68 deletions
+15
View File
@@ -0,0 +1,15 @@
---
title: "AdditionalToolsItem"
---
Additional tools made available to the model at this point in the input
## Fields
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `id` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `role` | [components.AdditionalToolsItemRole](../components/additionaltoolsitemrole.mdx) | :heavy_check_mark: | N/A |
| `tools` | List[[components.AdditionalToolsItemToolUnion](../components/additionaltoolsitemtoolunion.mdx)] | :heavy_check_mark: | N/A |
| `type` | [components.TypeAdditionalTools](../components/typeadditionaltools.mdx) | :heavy_check_mark: | N/A |
@@ -0,0 +1,26 @@
---
title: "AdditionalToolsItemRole"
---
## Example Usage
```python
from openrouter.components import AdditionalToolsItemRole
# Open enum: unrecognized values are captured as UnrecognizedStr
value: AdditionalToolsItemRole = "unknown"
```
## Values
This is an open enum. Unrecognized values will not fail type checks.
- `"unknown"`
- `"user"`
- `"assistant"`
- `"system"`
- `"critic"`
- `"discriminator"`
- `"developer"`
- `"tool"`
@@ -0,0 +1,10 @@
---
title: "AdditionalToolsItemTool"
---
## Fields
| Field | Type | Required | Description |
| -------------------------- | -------------------------- | -------------------------- | -------------------------- |
| `type` | *str* | :heavy_check_mark: | N/A |
| `__pydantic_extra__` | Dict[str, *Nullable[Any]*] | :heavy_minus_sign: | N/A |
@@ -0,0 +1,16 @@
---
title: "AdditionalToolsItemToolFunction"
---
Function tool definition
## Fields
| Field | Type | Required | Description |
| ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------- |
| `description` | *OptionalNullable[str]* | :heavy_minus_sign: | N/A |
| `name` | *str* | :heavy_check_mark: | N/A |
| `parameters` | Dict[str, *Nullable[Any]*] | :heavy_check_mark: | N/A |
| `strict` | *OptionalNullable[bool]* | :heavy_minus_sign: | N/A |
| `type` | [components.AdditionalToolsItemTypeFunction](../components/additionaltoolsitemtypefunction.mdx) | :heavy_check_mark: | N/A |
@@ -0,0 +1,168 @@
---
title: "AdditionalToolsItemToolUnion"
---
## Supported Types
### `components.AdditionalToolsItemToolFunction`
```python
value: components.AdditionalToolsItemToolFunction = /* values here */
```
### `components.PreviewWebSearchServerTool`
```python
value: components.PreviewWebSearchServerTool = /* values here */
```
### `components.Preview20250311WebSearchServerTool`
```python
value: components.Preview20250311WebSearchServerTool = /* values here */
```
### `components.LegacyWebSearchServerTool`
```python
value: components.LegacyWebSearchServerTool = /* values here */
```
### `components.WebSearchServerTool`
```python
value: components.WebSearchServerTool = /* values here */
```
### `components.FileSearchServerTool`
```python
value: components.FileSearchServerTool = /* values here */
```
### `components.ComputerUseServerTool`
```python
value: components.ComputerUseServerTool = /* values here */
```
### `components.CodeInterpreterServerTool`
```python
value: components.CodeInterpreterServerTool = /* values here */
```
### `components.McpServerTool`
```python
value: components.McpServerTool = /* values here */
```
### `components.ImageGenerationServerTool`
```python
value: components.ImageGenerationServerTool = /* values here */
```
### `components.CodexLocalShellTool`
```python
value: components.CodexLocalShellTool = /* values here */
```
### `components.ShellServerTool`
```python
value: components.ShellServerTool = /* values here */
```
### `components.ApplyPatchServerTool`
```python
value: components.ApplyPatchServerTool = /* values here */
```
### `components.CustomTool`
```python
value: components.CustomTool = /* values here */
```
### `components.AdvisorServerToolOpenRouter`
```python
value: components.AdvisorServerToolOpenRouter = /* values here */
```
### `components.SubagentServerToolOpenRouter`
```python
value: components.SubagentServerToolOpenRouter = /* values here */
```
### `components.DatetimeServerTool`
```python
value: components.DatetimeServerTool = /* values here */
```
### `components.FilesServerTool`
```python
value: components.FilesServerTool = /* values here */
```
### `components.FusionServerToolOpenRouter`
```python
value: components.FusionServerToolOpenRouter = /* values here */
```
### `components.ImageGenerationServerToolOpenRouter`
```python
value: components.ImageGenerationServerToolOpenRouter = /* values here */
```
### `components.ChatSearchModelsServerTool`
```python
value: components.ChatSearchModelsServerTool = /* values here */
```
### `components.WebFetchServerTool`
```python
value: components.WebFetchServerTool = /* values here */
```
### `components.WebSearchServerToolOpenRouter`
```python
value: components.WebSearchServerToolOpenRouter = /* values here */
```
### `components.ApplyPatchServerToolOpenRouter`
```python
value: components.ApplyPatchServerToolOpenRouter = /* values here */
```
### `components.BashServerTool`
```python
value: components.BashServerTool = /* values here */
```
### `components.ShellServerToolOpenRouter`
```python
value: components.ShellServerToolOpenRouter = /* values here */
```
### `components.AdditionalToolsItemTool`
```python
value: components.AdditionalToolsItemTool = /* values here */
```
@@ -0,0 +1,15 @@
---
title: "AdditionalToolsItemTypeFunction"
---
## Example Usage
```python
from openrouter.components import AdditionalToolsItemTypeFunction
value: AdditionalToolsItemTypeFunction = "function"
```
## Values
- `"function"`
+6
View File
@@ -280,3 +280,9 @@ value: components.CompactionItem = /* values here */
value: components.ItemReferenceItem = /* values here */
```
### `components.AdditionalToolsItem`
```python
value: components.AdditionalToolsItem = /* values here */
```
+15
View File
@@ -0,0 +1,15 @@
---
title: "TypeAdditionalTools"
---
## Example Usage
```python
from openrouter.components import TypeAdditionalTools
value: TypeAdditionalTools = "additional_tools"
```
## Values
- `"additional_tools"`