Skip to content

Commit 471fb37

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#529)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 71b3af2 commit 471fb37

1 file changed

Lines changed: 95 additions & 22 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 95 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1178,6 +1178,10 @@ components:
11781178
type:
11791179
- 'string'
11801180
- 'null'
1181+
encrypted_content:
1182+
type:
1183+
- 'string'
1184+
- 'null'
11811185
type:
11821186
enum:
11831187
- 'compaction'
@@ -11959,6 +11963,10 @@ components:
1195911963
type:
1196011964
- 'string'
1196111965
- 'null'
11966+
encrypted_content:
11967+
type:
11968+
- 'string'
11969+
- 'null'
1196211970
type:
1196311971
enum:
1196411972
- 'compaction_delta'
@@ -12009,6 +12017,10 @@ components:
1200912017
type:
1201012018
- 'string'
1201112019
- 'null'
12020+
encrypted_content:
12021+
type:
12022+
- 'string'
12023+
- 'null'
1201212024
type:
1201312025
enum:
1201412026
- 'compaction'
@@ -12360,6 +12372,10 @@ components:
1236012372
type:
1236112373
- 'string'
1236212374
- 'null'
12375+
encrypted_content:
12376+
type:
12377+
- 'string'
12378+
- 'null'
1236312379
type:
1236412380
enum:
1236512381
- 'compaction'
@@ -13302,18 +13318,46 @@ components:
1330213318
type: 'tool_reference'
1330313319
type: 'tool_addition'
1330413320
properties:
13321+
cache_control:
13322+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
1330513323
tool:
13306-
properties:
13307-
name:
13308-
type: 'string'
13309-
type:
13310-
enum:
13311-
- 'tool_reference'
13312-
type: 'string'
13313-
required:
13314-
- 'type'
13315-
- 'name'
13316-
type: 'object'
13324+
oneOf:
13325+
- properties:
13326+
name:
13327+
type: 'string'
13328+
type:
13329+
enum:
13330+
- 'tool_reference'
13331+
type: 'string'
13332+
required:
13333+
- 'type'
13334+
- 'name'
13335+
type: 'object'
13336+
- properties:
13337+
name:
13338+
type: 'string'
13339+
server_name:
13340+
type: 'string'
13341+
type:
13342+
enum:
13343+
- 'mcp_tool_reference'
13344+
type: 'string'
13345+
required:
13346+
- 'type'
13347+
- 'name'
13348+
- 'server_name'
13349+
type: 'object'
13350+
- properties:
13351+
server_name:
13352+
type: 'string'
13353+
type:
13354+
enum:
13355+
- 'mcp_toolset_reference'
13356+
type: 'string'
13357+
required:
13358+
- 'type'
13359+
- 'server_name'
13360+
type: 'object'
1331713361
type:
1331813362
enum:
1331913363
- 'tool_addition'
@@ -13330,18 +13374,46 @@ components:
1333013374
type: 'tool_reference'
1333113375
type: 'tool_removal'
1333213376
properties:
13377+
cache_control:
13378+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
1333313379
tool:
13334-
properties:
13335-
name:
13336-
type: 'string'
13337-
type:
13338-
enum:
13339-
- 'tool_reference'
13340-
type: 'string'
13341-
required:
13342-
- 'type'
13343-
- 'name'
13344-
type: 'object'
13380+
oneOf:
13381+
- properties:
13382+
name:
13383+
type: 'string'
13384+
type:
13385+
enum:
13386+
- 'tool_reference'
13387+
type: 'string'
13388+
required:
13389+
- 'type'
13390+
- 'name'
13391+
type: 'object'
13392+
- properties:
13393+
name:
13394+
type: 'string'
13395+
server_name:
13396+
type: 'string'
13397+
type:
13398+
enum:
13399+
- 'mcp_tool_reference'
13400+
type: 'string'
13401+
required:
13402+
- 'type'
13403+
- 'name'
13404+
- 'server_name'
13405+
type: 'object'
13406+
- properties:
13407+
server_name:
13408+
type: 'string'
13409+
type:
13410+
enum:
13411+
- 'mcp_toolset_reference'
13412+
type: 'string'
13413+
required:
13414+
- 'type'
13415+
- 'server_name'
13416+
type: 'object'
1334513417
type:
1334613418
enum:
1334713419
- 'tool_removal'
@@ -16661,6 +16733,7 @@ components:
1666116733
enum:
1666216734
- 'end_turn'
1666316735
- 'max_tokens'
16736+
- 'model_context_window_exceeded'
1666416737
- 'stop_sequence'
1666516738
- 'tool_use'
1666616739
- 'pause_turn'

0 commit comments

Comments
 (0)