@@ -3513,7 +3513,6 @@ components:
35133513 - $ref: '#/components/schemas/DatetimeServerTool'
35143514 - $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
35153515 - $ref: '#/components/schemas/ChatSearchModelsServerTool'
3516- - $ref: '#/components/schemas/WebFetchServerTool'
35173516 - $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
35183517 - $ref: '#/components/schemas/ChatWebSearchShorthand'
35193518 description: Tool definition for function calling (regular function or OpenRouter built-in server tool)
@@ -7631,7 +7630,6 @@ components:
76317630 - $ref: '#/components/schemas/DatetimeServerTool'
76327631 - $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
76337632 - $ref: '#/components/schemas/ChatSearchModelsServerTool'
7634- - $ref: '#/components/schemas/WebFetchServerTool'
76357633 - $ref: '#/components/schemas/OpenRouterWebSearchServerTool'
76367634 type: array
76377635 top_k:
@@ -11514,7 +11512,6 @@ components:
1151411512 - $ref: '#/components/schemas/DatetimeServerTool'
1151511513 - $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
1151611514 - $ref: '#/components/schemas/ChatSearchModelsServerTool'
11517- - $ref: '#/components/schemas/WebFetchServerTool'
1151811515 - $ref: '#/components/schemas/WebSearchServerTool_OpenRouter'
1151911516 type: array
1152011517 top_k:
@@ -13065,62 +13062,6 @@ components:
1306513062 required:
1306613063 - data
1306713064 type: object
13068- WebFetchEngineEnum:
13069- description: >-
13070- Which fetch engine to use. "auto" (default) uses native if the provider supports it, otherwise Exa. "native"
13071- forces the provider's built-in fetch. "exa" uses Exa Contents API (supports BYOK). "openrouter" uses direct HTTP
13072- fetch. "firecrawl" uses Firecrawl scrape (requires BYOK).
13073- enum:
13074- - auto
13075- - native
13076- - openrouter
13077- - firecrawl
13078- - exa
13079- example: auto
13080- type: string
13081- WebFetchServerTool:
13082- description: 'OpenRouter built-in server tool: fetches full content from a URL (web page or PDF)'
13083- example:
13084- parameters:
13085- max_uses: 10
13086- type: openrouter:web_fetch
13087- properties:
13088- parameters:
13089- $ref: '#/components/schemas/WebFetchServerToolConfig'
13090- type:
13091- enum:
13092- - openrouter:web_fetch
13093- type: string
13094- required:
13095- - type
13096- type: object
13097- WebFetchServerToolConfig:
13098- description: Configuration for the openrouter:web_fetch server tool
13099- example:
13100- max_content_tokens: 100000
13101- max_uses: 10
13102- properties:
13103- allowed_domains:
13104- description: Only fetch from these domains.
13105- items:
13106- type: string
13107- type: array
13108- blocked_domains:
13109- description: Never fetch from these domains.
13110- items:
13111- type: string
13112- type: array
13113- engine:
13114- $ref: '#/components/schemas/WebFetchEngineEnum'
13115- max_content_tokens:
13116- description: Maximum content length in approximate tokens. Content exceeding this limit is truncated.
13117- example: 100000
13118- type: integer
13119- max_uses:
13120- description: Maximum number of web fetches per request. Once exceeded, the tool returns an error.
13121- example: 10
13122- type: integer
13123- type: object
1312413065 WebSearchCallCompletedEvent:
1312513066 allOf:
1312613067 - $ref: '#/components/schemas/OpenAIResponsesSearchCompleted'
@@ -14753,11 +14694,6 @@ paths:
1475314694 example: 5
1475414695 nullable: true
1475514696 type: integer
14756- num_fetches:
14757- description: Number of web fetches performed
14758- example: 0
14759- nullable: true
14760- type: integer
1476114697 num_input_audio_prompt:
1476214698 description: Number of audio inputs in the prompt
1476314699 example: 0
@@ -14874,7 +14810,6 @@ paths:
1487414810 - num_input_audio_prompt
1487514811 - num_media_completion
1487614812 - num_search_results
14877- - num_fetches
1487814813 - origin
1487914814 - usage
1488014815 - is_byok
0 commit comments