Skip to content

Commit ec826cf

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#678)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 4eec07f commit ec826cf

1 file changed

Lines changed: 2 additions & 27 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -231,20 +231,6 @@ components:
231231
- 'role'
232232
- 'tools'
233233
type: 'object'
234-
AdvisorNestedTool:
235-
additionalProperties: {}
236-
description: 'A tool made available to the advisor sub-agent. Only OpenRouter server tools (e.g. openrouter:web_search) are supported; function tools are rejected because the advisor has no way to execute them. The advisor tool may not list itself.'
237-
example:
238-
type: 'openrouter:web_search'
239-
properties:
240-
parameters:
241-
additionalProperties: {}
242-
type: 'object'
243-
type:
244-
type: 'string'
245-
required:
246-
- 'type'
247-
type: 'object'
248234
AdvisorReasoning:
249235
description: 'Reasoning configuration forwarded to the advisor call. Use this to control reasoning effort and token budget for models that support extended thinking.'
250236
example:
@@ -266,7 +252,7 @@ components:
266252
type: 'integer'
267253
type: 'object'
268254
AdvisorServerTool_OpenRouter:
269-
description: 'OpenRouter built-in server tool: consults a higher-intelligence advisor model (any OpenRouter model) for guidance mid-generation and returns its response. The advisor may run as a sub-agent with its own tools. Include multiple entries to offer several named advisors; at most one entry may omit `name` to act as the default advisor.'
255+
description: 'OpenRouter built-in server tool: consults a higher-intelligence advisor model (any OpenRouter model) for guidance mid-generation and returns its response. Include multiple entries to offer several named advisors; at most one entry may omit `name` to act as the default advisor.'
270256
example:
271257
parameters:
272258
model: '~anthropic/claude-opus-latest'
@@ -300,14 +286,8 @@ components:
300286
description: 'Maximum number of output tokens (including reasoning) the advisor may produce. When omitted, the provider''s default applies.'
301287
example: 2048
302288
type: 'integer'
303-
max_tool_calls:
304-
description: 'Maximum number of tool-calling steps the advisor sub-agent may take during its agentic loop. Capped at 25. Only relevant when the advisor is given tools.'
305-
example: 5
306-
maximum: 25
307-
minimum: 1
308-
type: 'integer'
309289
model:
310-
description: 'Slug of the advisor model to consult (any OpenRouter model). When omitted, the executor can choose it via the tool call''s `model` argument; if neither is set, the model from the outer API request is used. The advisor tool itself cannot be the advisor model.'
290+
description: 'Slug of the advisor model to consult (any OpenRouter model). When omitted, the executor can choose it via the tool call''s `model` argument; if neither is set, the model from the outer API request is used.'
311291
example: '~anthropic/claude-opus-latest'
312292
type: 'string'
313293
name:
@@ -328,11 +308,6 @@ components:
328308
example: 0.7
329309
format: 'double'
330310
type: 'number'
331-
tools:
332-
description: 'Tools the advisor sub-agent may use while forming its advice. The advisor runs as an agentic sub-agent over these tools, then returns its text. Only OpenRouter server tools are supported — function tools are rejected — and the list must not include the advisor tool itself.'
333-
items:
334-
$ref: '#/components/schemas/AdvisorNestedTool'
335-
type: 'array'
336311
type: 'object'
337312
AgentMessageItem:
338313
additionalProperties: {}

0 commit comments

Comments
 (0)