From 90f661ff734d7efd76325e951fbb144f7c7b0f10 Mon Sep 17 00:00:00 2001 From: robert-j-y <212159665+robert-j-y@users.noreply.github.com> Date: Wed, 13 May 2026 07:25:17 -0700 Subject: [PATCH] chore: update OpenAPI spec from monorepo (#241) Co-authored-by: OpenRouter SDK Bot --- .speakeasy/in.openapi.yaml | 49 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 2a5b701..fc05467 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -6381,6 +6381,54 @@ components: required: - id type: object + FusionServerTool_OpenRouter: + description: >- + OpenRouter built-in server tool: fans out the user prompt to a panel of analysis models, then asks a judge model + to summarize their collective output as structured JSON the outer model can synthesize from. + example: + parameters: + analysis_models: + - ~anthropic/claude-opus-latest + - ~openai/gpt-latest + type: openrouter:fusion + properties: + parameters: + $ref: '#/components/schemas/FusionServerToolConfig' + type: + enum: + - openrouter:fusion + type: string + required: + - type + type: object + FusionServerToolConfig: + description: Configuration for the openrouter:fusion server tool. + example: + analysis_models: + - ~anthropic/claude-opus-latest + - ~openai/gpt-latest + properties: + analysis_models: + description: >- + Slugs of models to run in parallel as the analysis panel. Each model receives the user prompt with + openrouter:web_search and openrouter:web_fetch enabled, then a judge model summarizes the collective output + into structured analysis JSON. Capped at 8 models to bound cost amplification. Defaults to the Quality + preset from /labs/fusion. + example: + - ~anthropic/claude-opus-latest + - ~openai/gpt-latest + items: + type: string + maxItems: 8 + minItems: 1 + type: array + model: + description: >- + Slug of the judge model that produces the structured analysis JSON. Defaults to the model used in the outer + API request. + example: ~anthropic/claude-opus-latest + type: string + type: object GenerationContentData: description: Stored prompt and completion content example: @@ -14112,6 +14160,7 @@ components: - $ref: '#/components/schemas/ApplyPatchServerTool' - $ref: '#/components/schemas/CustomTool' - $ref: '#/components/schemas/DatetimeServerTool' + - $ref: '#/components/schemas/FusionServerTool_OpenRouter' - $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter' - $ref: '#/components/schemas/ChatSearchModelsServerTool' - $ref: '#/components/schemas/WebFetchServerTool'