chore: update OpenAPI spec from monorepo (#130)

Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
This commit is contained in:
robert-j-y
2026-04-16 09:56:09 -05:00
committed by GitHub
co-authored by OpenRouter SDK Bot
parent a34a1456a1
commit c2a933ff6b
+49 -2
View File
@@ -7215,11 +7215,12 @@ components:
effort: effort:
description: >- description: >-
How much effort the model should put into its response. Higher effort levels may result in more thorough How much effort the model should put into its response. Higher effort levels may result in more thorough
analysis but take longer. Valid values are `low`, `medium`, `high`, or `max`. analysis but take longer. Valid values are `low`, `medium`, `high`, `xhigh`, or `max`.
enum: enum:
- low - low
- medium - medium
- high - high
- xhigh
- max - max
- null - null
example: medium example: medium
@@ -8841,6 +8842,8 @@ components:
service_tier: service_tier:
nullable: true nullable: true
type: string type: string
text:
$ref: '#/components/schemas/TextExtendedConfig'
usage: usage:
$ref: '#/components/schemas/Usage' $ref: '#/components/schemas/Usage'
type: object type: object
@@ -9482,6 +9485,7 @@ components:
openrouter:browser_use: '#/components/schemas/OutputBrowserUseServerToolItem' openrouter:browser_use: '#/components/schemas/OutputBrowserUseServerToolItem'
openrouter:code_interpreter: '#/components/schemas/OutputCodeInterpreterServerToolItem' openrouter:code_interpreter: '#/components/schemas/OutputCodeInterpreterServerToolItem'
openrouter:datetime: '#/components/schemas/OutputDatetimeItem' openrouter:datetime: '#/components/schemas/OutputDatetimeItem'
openrouter:experimental__search_models: '#/components/schemas/OutputSearchModelsServerToolItem'
openrouter:file_search: '#/components/schemas/OutputFileSearchServerToolItem' openrouter:file_search: '#/components/schemas/OutputFileSearchServerToolItem'
openrouter:image_generation: '#/components/schemas/OutputImageGenerationServerToolItem' openrouter:image_generation: '#/components/schemas/OutputImageGenerationServerToolItem'
openrouter:mcp: '#/components/schemas/OutputMcpServerToolItem' openrouter:mcp: '#/components/schemas/OutputMcpServerToolItem'
@@ -9523,6 +9527,7 @@ components:
- $ref: '#/components/schemas/OutputToolSearchServerToolItem' - $ref: '#/components/schemas/OutputToolSearchServerToolItem'
- $ref: '#/components/schemas/OutputMemoryServerToolItem' - $ref: '#/components/schemas/OutputMemoryServerToolItem'
- $ref: '#/components/schemas/OutputMcpServerToolItem' - $ref: '#/components/schemas/OutputMcpServerToolItem'
- $ref: '#/components/schemas/OutputSearchModelsServerToolItem'
OutputItemWebSearchCall: OutputItemWebSearchCall:
example: example:
action: action:
@@ -9765,6 +9770,32 @@ components:
- text: Analyzed the problem and found the optimal solution. - text: Analyzed the problem and found the optimal solution.
type: summary_text type: summary_text
type: reasoning type: reasoning
OutputSearchModelsServerToolItem:
description: An openrouter:experimental__search_models server tool output item
example:
arguments: '{"query":"Claude Opus"}'
id: sm_tmp_abc123
query: Claude Opus
status: completed
type: openrouter:experimental__search_models
properties:
arguments:
description: The JSON arguments submitted to the search tool (e.g. {"query":"Claude"})
type: string
id:
type: string
query:
type: string
status:
$ref: '#/components/schemas/ToolCallStatus'
type:
enum:
- openrouter:experimental__search_models
type: string
required:
- status
- type
type: object
OutputTextEditorServerToolItem: OutputTextEditorServerToolItem:
description: An openrouter:text_editor server tool output item description: An openrouter:text_editor server tool output item
example: example:
@@ -11974,7 +12005,17 @@ components:
TextExtendedConfig: TextExtendedConfig:
allOf: allOf:
- $ref: '#/components/schemas/TextConfig' - $ref: '#/components/schemas/TextConfig'
- properties: {} - properties:
verbosity:
enum:
- low
- medium
- high
- xhigh
- max
- null
nullable: true
type: string
type: object type: object
description: Text output configuration including format and verbosity description: Text output configuration including format and verbosity
example: example:
@@ -14819,6 +14860,11 @@ paths:
description: User-Agent header from the request description: User-Agent header from the request
nullable: true nullable: true
type: string type: string
web_search_engine:
description: The resolved web search engine used for this generation (e.g. exa, firecrawl, parallel)
example: exa
nullable: true
type: string
required: required:
- id - id
- upstream_id - upstream_id
@@ -14846,6 +14892,7 @@ paths:
- num_input_audio_prompt - num_input_audio_prompt
- num_media_completion - num_media_completion
- num_search_results - num_search_results
- web_search_engine
- origin - origin
- usage - usage
- is_byok - is_byok