From 76ec9ef5654a559c99a24d07556e99adcbdafe50 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Thu, 1 Oct 2026 04:35:43 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 165db8c5..db8bb566 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -6922,6 +6922,20 @@ components: - 'role' - 'content' type: 'object' + ChatDynamicServerTool: + 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.' + example: + parameters: {} + type: 'openrouter:datetime_v2' + properties: + parameters: + additionalProperties: {} + type: 'object' + type: + type: 'string' + required: + - 'type' + type: 'object' ChatFinishReasonEnum: enum: - 'tool_calls' @@ -7080,6 +7094,7 @@ components: - $ref: '#/components/schemas/WebFetchServerTool' - $ref: '#/components/schemas/OpenRouterWebSearchServerTool' - $ref: '#/components/schemas/ChatWebSearchShorthand' + - $ref: '#/components/schemas/ChatDynamicServerTool' description: 'Tool definition for function calling (regular function or OpenRouter built-in server tool)' example: function: