Skip to content

Commit 59a8775

Browse files
robert-j-yOpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#257)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent e7a0691 commit 59a8775

1 file changed

Lines changed: 69 additions & 0 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 69 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4315,11 +4315,13 @@ components:
43154315
pareto-router: '#/components/schemas/ParetoRouterPlugin'
43164316
response-healing: '#/components/schemas/ResponseHealingPlugin'
43174317
web: '#/components/schemas/WebSearchPlugin'
4318+
web-fetch: '#/components/schemas/WebFetchPlugin'
43184319
propertyName: id
43194320
oneOf:
43204321
- $ref: '#/components/schemas/AutoRouterPlugin'
43214322
- $ref: '#/components/schemas/ModerationPlugin'
43224323
- $ref: '#/components/schemas/WebSearchPlugin'
4324+
- $ref: '#/components/schemas/WebFetchPlugin'
43234325
- $ref: '#/components/schemas/FileParserPlugin'
43244326
- $ref: '#/components/schemas/ResponseHealingPlugin'
43254327
- $ref: '#/components/schemas/ContextCompressionPlugin'
@@ -6989,6 +6991,13 @@ components:
69896991
maxItems: 8
69906992
minItems: 1
69916993
type: array
6994+
max_completion_tokens:
6995+
description: >-
6996+
Maximum number of output tokens (including reasoning tokens) each panelist and the judge model may produce
6997+
per inner call. Controls the total output budget so reasoning-heavy models like GPT-5.5 do not exhaust their
6998+
token allowance before producing visible text. When omitted, the provider's default applies.
6999+
example: 16384
7000+
type: integer
69927001
max_tool_calls:
69937002
description: >-
69947003
Maximum number of tool-calling steps each panelist (analysis model) and the judge model may take during
@@ -7004,6 +7013,34 @@ components:
70047013
API request.
70057014
example: ~anthropic/claude-opus-latest
70067015
type: string
7016+
reasoning:
7017+
description: >-
7018+
Reasoning configuration forwarded to panelist and judge inner calls. Use this to control reasoning effort
7019+
and token budget for models that support extended thinking.
7020+
properties:
7021+
effort:
7022+
description: Reasoning effort level for panelist and judge inner calls.
7023+
enum:
7024+
- xhigh
7025+
- high
7026+
- medium
7027+
- low
7028+
- minimal
7029+
- none
7030+
type: string
7031+
max_tokens:
7032+
description: >-
7033+
Maximum number of reasoning tokens each panelist and judge model may use. Helps bound cost when models
7034+
allocate too much budget to chain-of-thought.
7035+
type: integer
7036+
type: object
7037+
temperature:
7038+
description: >-
7039+
Sampling temperature forwarded to panelist and judge inner calls. When omitted, the provider's default
7040+
applies.
7041+
example: 0.7
7042+
format: double
7043+
type: number
70077044
type: object
70087045
GenerationContentData:
70097046
description: Stored prompt and completion content
@@ -9757,11 +9794,13 @@ components:
97579794
pareto-router: '#/components/schemas/ParetoRouterPlugin'
97589795
response-healing: '#/components/schemas/ResponseHealingPlugin'
97599796
web: '#/components/schemas/WebSearchPlugin'
9797+
web-fetch: '#/components/schemas/WebFetchPlugin'
97609798
propertyName: id
97619799
oneOf:
97629800
- $ref: '#/components/schemas/AutoRouterPlugin'
97639801
- $ref: '#/components/schemas/ModerationPlugin'
97649802
- $ref: '#/components/schemas/WebSearchPlugin'
9803+
- $ref: '#/components/schemas/WebFetchPlugin'
97659804
- $ref: '#/components/schemas/FileParserPlugin'
97669805
- $ref: '#/components/schemas/ResponseHealingPlugin'
97679806
- $ref: '#/components/schemas/ContextCompressionPlugin'
@@ -16840,11 +16879,13 @@ components:
1684016879
pareto-router: '#/components/schemas/ParetoRouterPlugin'
1684116880
response-healing: '#/components/schemas/ResponseHealingPlugin'
1684216881
web: '#/components/schemas/WebSearchPlugin'
16882+
web-fetch: '#/components/schemas/WebFetchPlugin'
1684316883
propertyName: id
1684416884
oneOf:
1684516885
- $ref: '#/components/schemas/AutoRouterPlugin'
1684616886
- $ref: '#/components/schemas/ModerationPlugin'
1684716887
- $ref: '#/components/schemas/WebSearchPlugin'
16888+
- $ref: '#/components/schemas/WebFetchPlugin'
1684816889
- $ref: '#/components/schemas/FileParserPlugin'
1684916890
- $ref: '#/components/schemas/ResponseHealingPlugin'
1685016891
- $ref: '#/components/schemas/ContextCompressionPlugin'
@@ -18737,6 +18778,34 @@ components:
1873718778
- exa
1873818779
example: auto
1873918780
type: string
18781+
WebFetchPlugin:
18782+
example:
18783+
id: web-fetch
18784+
max_uses: 10
18785+
properties:
18786+
allowed_domains:
18787+
description: Only fetch from these domains.
18788+
items:
18789+
type: string
18790+
type: array
18791+
blocked_domains:
18792+
description: Never fetch from these domains.
18793+
items:
18794+
type: string
18795+
type: array
18796+
id:
18797+
enum:
18798+
- web-fetch
18799+
type: string
18800+
max_content_tokens:
18801+
description: Maximum content length in approximate tokens. Content exceeding this limit is truncated.
18802+
type: integer
18803+
max_uses:
18804+
description: Maximum number of web fetches per request. Once exceeded, the tool returns an error.
18805+
type: integer
18806+
required:
18807+
- id
18808+
type: object
1874018809
WebFetchServerTool:
1874118810
description: 'OpenRouter built-in server tool: fetches full content from a URL (web page or PDF)'
1874218811
example:

0 commit comments

Comments
 (0)