Skip to content

Commit 608e780

Browse files
github-actions[bot]speakeasybotspeakeasy-github[bot]
authored
chore: 🐝 Update SDK - Generate (spec change merged) 1.3.82 (#1143)
Co-authored-by: speakeasybot <bot@speakeasyapi.dev> Co-authored-by: speakeasy-github[bot] <128539517+speakeasy-github[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent d7694b3 commit 608e780

55 files changed

Lines changed: 1294 additions & 272 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

β€Ž.speakeasy/gen.lockβ€Ž

Lines changed: 147 additions & 69 deletions
Large diffs are not rendered by default.

β€Ž.speakeasy/gen.yamlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ generation:
3636
documentation: mintlify
3737
preApplyUnionDiscriminators: true
3838
python:
39-
version: 1.3.81
39+
version: 1.3.82
4040
additionalDependencies:
4141
dev:
4242
pytest: '>=8.3'

β€Ž.speakeasy/out.openapi.yamlβ€Ž

Lines changed: 159 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2765,6 +2765,153 @@ components:
27652765
- 'content'
27662766
- 'tool_use_id'
27672767
type: 'object'
2768+
AnthropicToolUnion:
2769+
description: 'An Anthropic tool definition: a client-defined tool with a JSON Schema `input_schema`, or a server tool (bash, text editor, web search).'
2770+
example:
2771+
description: 'Get the current weather for a city.'
2772+
input_schema:
2773+
properties:
2774+
city:
2775+
type: 'string'
2776+
required:
2777+
- 'city'
2778+
type: 'object'
2779+
name: 'get_weather'
2780+
oneOf:
2781+
- properties:
2782+
cache_control:
2783+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
2784+
defer_loading:
2785+
type: 'boolean'
2786+
description:
2787+
type: 'string'
2788+
input_schema:
2789+
additionalProperties: {}
2790+
properties:
2791+
properties: {}
2792+
required:
2793+
items:
2794+
type: 'string'
2795+
type:
2796+
- 'array'
2797+
- 'null'
2798+
type:
2799+
enum:
2800+
- 'object'
2801+
type: 'string'
2802+
required:
2803+
- 'type'
2804+
type: 'object'
2805+
name:
2806+
type: 'string'
2807+
strict:
2808+
type: 'boolean'
2809+
type:
2810+
enum:
2811+
- 'custom'
2812+
type: 'string'
2813+
required:
2814+
- 'name'
2815+
- 'input_schema'
2816+
type: 'object'
2817+
- properties:
2818+
cache_control:
2819+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
2820+
name:
2821+
enum:
2822+
- 'bash'
2823+
type: 'string'
2824+
type:
2825+
enum:
2826+
- 'bash_20250124'
2827+
type: 'string'
2828+
required:
2829+
- 'type'
2830+
- 'name'
2831+
type: 'object'
2832+
- properties:
2833+
cache_control:
2834+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
2835+
name:
2836+
enum:
2837+
- 'str_replace_editor'
2838+
type: 'string'
2839+
type:
2840+
enum:
2841+
- 'text_editor_20250124'
2842+
type: 'string'
2843+
required:
2844+
- 'type'
2845+
- 'name'
2846+
type: 'object'
2847+
- properties:
2848+
allowed_domains:
2849+
items:
2850+
type: 'string'
2851+
type:
2852+
- 'array'
2853+
- 'null'
2854+
blocked_domains:
2855+
items:
2856+
type: 'string'
2857+
type:
2858+
- 'array'
2859+
- 'null'
2860+
cache_control:
2861+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
2862+
max_uses:
2863+
type:
2864+
- 'integer'
2865+
- 'null'
2866+
name:
2867+
enum:
2868+
- 'web_search'
2869+
type: 'string'
2870+
type:
2871+
enum:
2872+
- 'web_search_20250305'
2873+
type: 'string'
2874+
user_location:
2875+
$ref: '#/components/schemas/AnthropicWebSearchToolUserLocation'
2876+
required:
2877+
- 'type'
2878+
- 'name'
2879+
type: 'object'
2880+
- properties:
2881+
allowed_callers:
2882+
$ref: '#/components/schemas/AnthropicAllowedCallers'
2883+
allowed_domains:
2884+
items:
2885+
type: 'string'
2886+
type:
2887+
- 'array'
2888+
- 'null'
2889+
blocked_domains:
2890+
items:
2891+
type: 'string'
2892+
type:
2893+
- 'array'
2894+
- 'null'
2895+
cache_control:
2896+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
2897+
max_uses:
2898+
type:
2899+
- 'integer'
2900+
- 'null'
2901+
name:
2902+
enum:
2903+
- 'web_search'
2904+
type: 'string'
2905+
type:
2906+
enum:
2907+
- 'web_search_20260209'
2908+
type: 'string'
2909+
user_location:
2910+
$ref: '#/components/schemas/AnthropicWebSearchToolUserLocation'
2911+
required:
2912+
- 'type'
2913+
- 'name'
2914+
type: 'object'
27682915
AnthropicToolUseBlock:
27692916
example:
27702917
caller:
@@ -17985,7 +18132,7 @@ components:
1798518132
- 'data'
1798618133
type: 'object'
1798718134
MessagesToolAdditionBlock:
17988-
description: 'Loads a previously deferred tool (declared in `tools` with `defer_loading: true`) mid-conversation without invalidating the prompt cache. Only valid in `role: "system"` messages. Not supported on Claude Sonnet 5 or models older than Claude Opus 4.8.'
18135+
description: 'Adds a tool mid-conversation without invalidating the prompt cache: either a previously deferred tool (declared in `tools` with `defer_loading: true`, referenced by name) or a full inline `tool_definition`. Only valid in `role: "system"` messages. Not supported on Claude Sonnet 5 or models older than Claude Opus 4.8.'
1798918136
example:
1799018137
tool:
1799118138
name: 'get_forecast'
@@ -18032,6 +18179,17 @@ components:
1803218179
- 'type'
1803318180
- 'server_name'
1803418181
type: 'object'
18182+
- properties:
18183+
definition:
18184+
$ref: '#/components/schemas/AnthropicToolUnion'
18185+
type:
18186+
enum:
18187+
- 'tool_definition'
18188+
type: 'string'
18189+
required:
18190+
- 'type'
18191+
- 'definition'
18192+
type: 'object'
1803518193
type:
1803618194
enum:
1803718195
- 'tool_addition'

β€Ž.speakeasy/workflow.lockβ€Ž

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,19 @@ speakeasyVersion: 1.787.0
22
sources:
33
OpenRouter API:
44
sourceNamespace: open-router-chat-completions-api
5-
sourceRevisionDigest: sha256:ee5f48654c6e8f4f447cfbc93f4f85d1c5f5ac1915d31b7ad375974c28cac57e
6-
sourceBlobDigest: sha256:138d3ed8f13d0140ddf709b0e4503936e094405c46af293f092ada3c97eddcc8
5+
sourceRevisionDigest: sha256:038e56b2c3b2cf3c81df89a8a2313957f3613b5e3b0094187e084dc2e8e7e27a
6+
sourceBlobDigest: sha256:60ac6a4d7eaa2d67c97a0a2ebe4b776a40ebf0674fa3e717fa9a67f8920fbd45
77
tags:
88
- latest
99
- 1.0.0
1010
targets:
1111
open-router:
1212
source: OpenRouter API
1313
sourceNamespace: open-router-chat-completions-api
14-
sourceRevisionDigest: sha256:ee5f48654c6e8f4f447cfbc93f4f85d1c5f5ac1915d31b7ad375974c28cac57e
15-
sourceBlobDigest: sha256:138d3ed8f13d0140ddf709b0e4503936e094405c46af293f092ada3c97eddcc8
14+
sourceRevisionDigest: sha256:038e56b2c3b2cf3c81df89a8a2313957f3613b5e3b0094187e084dc2e8e7e27a
15+
sourceBlobDigest: sha256:60ac6a4d7eaa2d67c97a0a2ebe4b776a40ebf0674fa3e717fa9a67f8920fbd45
1616
codeSamplesNamespace: open-router-python-code-samples
17-
codeSamplesRevisionDigest: sha256:85a4f2e4f0cd3a3e0395cea39481be87905a4fd8c36cbdcf47036a85e58fc560
17+
codeSamplesRevisionDigest: sha256:d96edd7519c09a0538c39859014b269f5c03fbab1e4ac43c85342e72a7656b7d
1818
workflow:
1919
workflowVersion: 1.0.0
2020
speakeasyVersion: 1.787.0

β€ŽRELEASES.mdβ€Ž

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3579,4 +3579,14 @@ Based on:
35793579
### Generated
35803580
- [python v1.3.81] .
35813581
### Releases
3582-
- [PyPI v1.3.81] https://pypi.org/project/openrouter/1.3.81 - .
3582+
- [PyPI v1.3.81] https://pypi.org/project/openrouter/1.3.81 - .
3583+
3584+
## 2026-10-26 21:02:38
3585+
### Changes
3586+
Based on:
3587+
- OpenAPI Doc
3588+
- Speakeasy CLI 1.787.0 (2.914.0) https://github.com/speakeasy-api/speakeasy
3589+
### Generated
3590+
- [python v1.3.82] .
3591+
### Releases
3592+
- [PyPI v1.3.82] https://pypi.org/project/openrouter/1.3.82 - .
Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
---
2+
title: "AnthropicToolUnion"
3+
---
4+
5+
An Anthropic tool definition: a client-defined tool with a JSON Schema `input_schema`, or a server tool (bash, text editor, web search).
6+
7+
8+
## Supported Types
9+
10+
### `components.AnthropicToolUnionCustom`
11+
12+
```python
13+
value: components.AnthropicToolUnionCustom = /* values here */
14+
```
15+
16+
### `components.AnthropicToolUnionBash20250124`
17+
18+
```python
19+
value: components.AnthropicToolUnionBash20250124 = /* values here */
20+
```
21+
22+
### `components.AnthropicToolUnionTextEditor20250124`
23+
24+
```python
25+
value: components.AnthropicToolUnionTextEditor20250124 = /* values here */
26+
```
27+
28+
### `components.AnthropicToolUnionWebSearch20250305`
29+
30+
```python
31+
value: components.AnthropicToolUnionWebSearch20250305 = /* values here */
32+
```
33+
34+
### `components.AnthropicToolUnionWebSearch20260209`
35+
36+
```python
37+
value: components.AnthropicToolUnionWebSearch20260209 = /* values here */
38+
```
39+
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
title: "AnthropicToolUnionBash20250124"
3+
---
4+
5+
## Fields
6+
7+
| Field | Type | Required | Description | Example |
8+
| ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
9+
| `cache_control` | [Optional[components.AnthropicCacheControlDirective]](../components/anthropiccachecontroldirective.mdx) | βž– | Enable automatic prompt caching. When set at the top level, the system automatically applies cache breakpoints to the last cacheable block in the request. When set on an individual content block, it marks an explicit cache breakpoint; block-level markers also work on OpenAI models that support explicit prompt caching β€” OpenRouter converts them to the provider's native format. | \{<br/>"type": "ephemeral"<br/>} |
10+
| `name` | [components.AnthropicToolUnionNameBash](../components/anthropictoolunionnamebash.mdx) | βœ… | N/A | |
11+
| `type` | [components.AnthropicToolUnionTypeBash20250124](../components/anthropictooluniontypebash20250124.mdx) | βœ… | N/A | |

0 commit comments

Comments
Β (0)