Skip to content

Commit 76ec9ef

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent a7baf2b commit 76ec9ef

1 file changed

Lines changed: 15 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6922,6 +6922,20 @@ components:
69226922
- 'role'
69236923
- 'content'
69246924
type: 'object'
6925+
ChatDynamicServerTool:
6926+
description: 'Generic OpenRouter server-tool envelope. `type` names a registered server tool (canonical `openrouter:*` form or a registered shorthand); `parameters` carries tool-specific configuration validated against the tool definition.'
6927+
example:
6928+
parameters: {}
6929+
type: 'openrouter:datetime_v2'
6930+
properties:
6931+
parameters:
6932+
additionalProperties: {}
6933+
type: 'object'
6934+
type:
6935+
type: 'string'
6936+
required:
6937+
- 'type'
6938+
type: 'object'
69256939
ChatFinishReasonEnum:
69266940
enum:
69276941
- 'tool_calls'
@@ -7080,6 +7094,7 @@ components:
70807094
- $ref: '#/components/schemas/WebFetchServerTool'
70817095
- $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
70827096
- $ref: '#/components/schemas/ChatWebSearchShorthand'
7097+
- $ref: '#/components/schemas/ChatDynamicServerTool'
70837098
description: 'Tool definition for function calling (regular function or OpenRouter built-in server tool)'
70847099
example:
70857100
function:

0 commit comments

Comments
 (0)