Skip to content

Commit b85f28b

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

1 file changed

Lines changed: 11 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12010,6 +12010,9 @@ components:
1201012010
siblings:
1201112011
description: 'Universal profile only, for searches the router answers through the `tool_search` wrapper; code-mode `search()` and a client-owned tool search list the matched tools alone. When true, each result also names up to 16 other deferred tools of every source a match came from, so a model that found one tool of an MCP server learns its neighbours without another search. Absent or false: results list the matched tools alone.'
1201212012
type: 'boolean'
12013+
spread:
12014+
description: 'Universal profile only, for keyword searches the router answers through the `tool_search` wrapper. When true, a result spreads across sources: of the 3 x limit best-scoring candidates, those scoring at least 60% of the best match take at most 2 slots per source (MCP server, namespace or shared `<server>_` prefix; a tool with no source is never capped), and the remaining slots fill in score order, so a catalog with several systems for one job (web search, page extraction) shows one of each instead of the top system''s siblings. Absent or false: results are the best matches in score order.'
12015+
type: 'boolean'
1201312016
type:
1201412017
enum:
1201512018
- 'bm25'
@@ -12061,7 +12064,7 @@ components:
1206112064
- 'type'
1206212065
type: 'object'
1206312066
DeferredToolsControl:
12064-
description: 'Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation; keep the catalog unchanged.'
12067+
description: 'Opt-in versioned router-level deferred-tool protocol. Replay assistant reasoning unchanged on continuation. The portable profile needs the catalog unchanged across a continuation; the universal profile accepts a changed catalog and, with `announce_catalog_changes`, tells the model about it.'
1206512068
example:
1206612069
profile: 'portable'
1206712070
protocol: 'v1'
@@ -12070,6 +12073,9 @@ components:
1207012073
type: 'bm25'
1207112074
validation: 'runtime'
1207212075
properties:
12076+
announce_catalog_changes:
12077+
description: 'Universal profile only. When true, a catalog whose deferred tools changed between two of the model''s own turns (a client that connects MCP servers while the model works) is re-announced before the next model turn, with the sources added, changed and removed since the previous index, or that no deferred tools remain. Applies when the router lists the catalog itself; a client whose own tool search was adopted lists its deferred tools itself and is not re-announced. The announcement shares the result budget of the turn and is skipped when it does not fit. Absent or false: the catalog index is announced on a user turn only.'
12078+
type: 'boolean'
1207312079
cascade_mode:
1207412080
description: 'How a universal `tool_search` query reaches the client''s own tool search. Absent or `keywords`: a `select:` query becomes the words of the selected names and the limit is always filled. `native`: a `select:` query passes through verbatim when the client search documents `select:`, and the limit field is sent only when the model gave one, unless the client search requires it, in which case its documented default is sent. Experimental.'
1207512081
enum:
@@ -28402,6 +28408,10 @@ components:
2840228408
description: 'The ID of the model call that ran the search. Replaying the item reuses it.'
2840328409
example: 'call_search_1'
2840428410
type: 'string'
28411+
catalog_changes:
28412+
description: 'What the announced index added and removed since the previous one, when the request opted into `announce_catalog_changes` and the catalog changed between model turns. Replaying the item shows the same lines.'
28413+
example: 'Added since the previous index: mcp__okta (113).'
28414+
type: 'string'
2840528415
catalog_index:
2840628416
description: 'The deferred-tool index the router showed the model with a pre-search, listing tool sources and names. Replaying the item shows the same index.'
2840728417
example: "Deferred tools, found with tool_search and called with tool_exec:\nSources: mcp__sentry (12)."

0 commit comments

Comments
 (0)