From ccb22f0fa1b7269b3ba93c608de78f8025a095d4 Mon Sep 17 00:00:00 2001 From: OpenRouter SDK Bot Date: Tue, 14 Apr 2026 18:35:10 +0000 Subject: [PATCH] chore: update OpenAPI spec [sdk-bot] --- .speakeasy/in.openapi.yaml | 65 -------------------------------------- 1 file changed, 65 deletions(-) diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index cfabd72..4cbaffd 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -3513,7 +3513,6 @@ components: - $ref: '#/components/schemas/DatetimeServerTool' - $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter' - $ref: '#/components/schemas/ChatSearchModelsServerTool' - - $ref: '#/components/schemas/WebFetchServerTool' - $ref: '#/components/schemas/OpenRouterWebSearchServerTool' - $ref: '#/components/schemas/ChatWebSearchShorthand' description: Tool definition for function calling (regular function or OpenRouter built-in server tool) @@ -7631,7 +7630,6 @@ components: - $ref: '#/components/schemas/DatetimeServerTool' - $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter' - $ref: '#/components/schemas/ChatSearchModelsServerTool' - - $ref: '#/components/schemas/WebFetchServerTool' - $ref: '#/components/schemas/OpenRouterWebSearchServerTool' type: array top_k: @@ -11514,7 +11512,6 @@ components: - $ref: '#/components/schemas/DatetimeServerTool' - $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter' - $ref: '#/components/schemas/ChatSearchModelsServerTool' - - $ref: '#/components/schemas/WebFetchServerTool' - $ref: '#/components/schemas/WebSearchServerTool_OpenRouter' type: array top_k: @@ -13065,62 +13062,6 @@ components: required: - data type: object - WebFetchEngineEnum: - description: >- - Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native" - forces the provider's built-in fetch. "exa" uses Exa Contents API (supports BYOK). "openrouter" uses direct HTTP - fetch. "firecrawl" uses Firecrawl scrape (requires BYOK). - enum: - - auto - - native - - openrouter - - firecrawl - - exa - example: auto - type: string - WebFetchServerTool: - description: 'OpenRouter built-in server tool: fetches full content from a URL (web page or PDF)' - example: - parameters: - max_uses: 10 - type: openrouter:web_fetch - properties: - parameters: - $ref: '#/components/schemas/WebFetchServerToolConfig' - type: - enum: - - openrouter:web_fetch - type: string - required: - - type - type: object - WebFetchServerToolConfig: - description: Configuration for the openrouter:web_fetch server tool - example: - max_content_tokens: 100000 - max_uses: 10 - properties: - allowed_domains: - description: Only fetch from these domains. - items: - type: string - type: array - blocked_domains: - description: Never fetch from these domains. - items: - type: string - type: array - engine: - $ref: '#/components/schemas/WebFetchEngineEnum' - max_content_tokens: - description: Maximum content length in approximate tokens. Content exceeding this limit is truncated. - example: 100000 - type: integer - max_uses: - description: Maximum number of web fetches per request. Once exceeded, the tool returns an error. - example: 10 - type: integer - type: object WebSearchCallCompletedEvent: allOf: - $ref: '#/components/schemas/OpenAIResponsesSearchCompleted' @@ -14753,11 +14694,6 @@ paths: example: 5 nullable: true type: integer - num_fetches: - description: Number of web fetches performed - example: 0 - nullable: true - type: integer num_input_audio_prompt: description: Number of audio inputs in the prompt example: 0 @@ -14874,7 +14810,6 @@ paths: - num_input_audio_prompt - num_media_completion - num_search_results - - num_fetches - origin - usage - is_byok