@@ -4533,17 +4533,17 @@ components:
45334533 properties:
45344534 allowed_domains:
45354535 description: >-
4536- Limit search results to these domains. Supported by Exa, Parallel, and most native providers (Anthropic,
4537- OpenAI, xAI). Not supported with Firecrawl or Perplexity .
4536+ Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, and most native providers
4537+ (Anthropic, OpenAI, xAI). Not supported with Perplexity. Cannot be used with excluded_domains .
45384538 items:
45394539 type: string
45404540 type: array
45414541 engine:
45424542 $ref: '#/components/schemas/WebSearchEngineEnum'
45434543 excluded_domains:
45444544 description: >-
4545- Exclude search results from these domains. Supported by Exa, Parallel, Anthropic, and xAI. Not supported
4546- with Firecrawl, OpenAI (silently ignored), or Perplexity.
4545+ Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not
4546+ supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains .
45474547 items:
45484548 type: string
45494549 type: array
@@ -14279,17 +14279,17 @@ components:
1427914279 properties:
1428014280 allowed_domains:
1428114281 description: >-
14282- Limit search results to these domains. Supported by Exa, Parallel, and most native providers (Anthropic,
14283- OpenAI, xAI). Not supported with Firecrawl or Perplexity .
14282+ Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, and most native providers
14283+ (Anthropic, OpenAI, xAI). Not supported with Perplexity. Cannot be used with excluded_domains .
1428414284 items:
1428514285 type: string
1428614286 type: array
1428714287 engine:
1428814288 $ref: '#/components/schemas/WebSearchEngineEnum'
1428914289 excluded_domains:
1429014290 description: >-
14291- Exclude search results from these domains. Supported by Exa, Parallel, Anthropic, and xAI. Not supported
14292- with Firecrawl, OpenAI (silently ignored), or Perplexity.
14291+ Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not
14292+ supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains .
1429314293 items:
1429414294 type: string
1429514295 type: array
@@ -14453,25 +14453,54 @@ components:
1445314453 type: openrouter:web_search
1445414454 properties:
1445514455 parameters:
14456- properties:
14457- max_results:
14458- description: Maximum number of search results to return per search call. Defaults to 5.
14459- example: 5
14460- type: integer
14461- max_total_results:
14462- description: >-
14463- Maximum total number of search results across all search calls in a single request. Once this limit is
14464- reached, the tool will stop returning new results.
14465- example: 20
14466- type: integer
14467- type: object
14456+ $ref: '#/components/schemas/WebSearchServerToolConfig'
1446814457 type:
1446914458 enum:
1447014459 - openrouter:web_search
1447114460 type: string
1447214461 required:
1447314462 - type
1447414463 type: object
14464+ WebSearchServerToolConfig:
14465+ description: Configuration for the openrouter:web_search server tool
14466+ example:
14467+ max_results: 5
14468+ search_context_size: medium
14469+ properties:
14470+ allowed_domains:
14471+ description: >-
14472+ Limit search results to these domains. Supported by Exa, Firecrawl, Parallel, and most native providers
14473+ (Anthropic, OpenAI, xAI). Not supported with Perplexity. Cannot be used with excluded_domains.
14474+ items:
14475+ type: string
14476+ type: array
14477+ engine:
14478+ $ref: '#/components/schemas/WebSearchEngineEnum'
14479+ excluded_domains:
14480+ description: >-
14481+ Exclude search results from these domains. Supported by Exa, Firecrawl, Parallel, Anthropic, and xAI. Not
14482+ supported with OpenAI (silently ignored) or Perplexity. Cannot be used with allowed_domains.
14483+ items:
14484+ type: string
14485+ type: array
14486+ max_results:
14487+ description: >-
14488+ Maximum number of search results to return per search call. Defaults to 5. Applies to Exa, Firecrawl, and
14489+ Parallel engines; ignored with native provider search.
14490+ example: 5
14491+ type: integer
14492+ max_total_results:
14493+ description: >-
14494+ Maximum total number of search results across all search calls in a single request. Once this limit is
14495+ reached, the tool will stop returning new results. Useful for controlling cost and context size in agentic
14496+ loops.
14497+ example: 20
14498+ type: integer
14499+ search_context_size:
14500+ $ref: '#/components/schemas/SearchQualityLevel'
14501+ user_location:
14502+ $ref: '#/components/schemas/WebSearchUserLocationServerTool'
14503+ type: object
1447514504 WebSearchSource:
1447614505 example:
1447714506 type: url
0 commit comments