Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 44 additions & 3 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,11 @@ components:
anyOf:
- allOf:
- $ref: '#/components/schemas/FunctionTool'
- properties: {}
- properties:
defer_loading:
description: 'Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.'
example: true
type: 'boolean'
type: 'object'
description: 'Function tool definition'
example:
Expand Down Expand Up @@ -214,6 +218,7 @@ components:
- $ref: '#/components/schemas/ApplyPatchServerTool_OpenRouter'
- $ref: '#/components/schemas/BashServerTool'
- $ref: '#/components/schemas/ShellServerTool_OpenRouter'
- $ref: '#/components/schemas/ToolSearchServerTool'
- additionalProperties: {}
properties:
type:
Expand Down Expand Up @@ -3983,7 +3988,11 @@ components:
oneOf:
- allOf:
- $ref: '#/components/schemas/FunctionTool'
- properties: {}
- properties:
defer_loading:
description: 'Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.'
example: true
type: 'boolean'
type: 'object'
description: 'Function tool definition'
example:
Expand Down Expand Up @@ -13429,6 +13438,7 @@ components:
- $ref: '#/components/schemas/AnthropicToolSearchToolBm25'
- $ref: '#/components/schemas/AnthropicToolSearchToolRegex'
- $ref: '#/components/schemas/ShellServerTool_OpenRouter'
- $ref: '#/components/schemas/ToolSearchServerTool'
type: 'array'
top_k:
type: 'integer'
Expand Down Expand Up @@ -22301,7 +22311,11 @@ components:
anyOf:
- allOf:
- $ref: '#/components/schemas/FunctionTool'
- properties: {}
- properties:
defer_loading:
description: 'Withhold this tool from the model until `openrouter:tool_search` finds it. Requires the tool search server tool; at least one tool must remain non-deferred.'
example: true
type: 'boolean'
type: 'object'
description: 'Function tool definition'
example:
Expand Down Expand Up @@ -22347,6 +22361,7 @@ components:
- $ref: '#/components/schemas/ApplyPatchServerTool_OpenRouter'
- $ref: '#/components/schemas/BashServerTool'
- $ref: '#/components/schemas/ShellServerTool_OpenRouter'
- $ref: '#/components/schemas/ToolSearchServerTool'
type: 'array'
top_k:
type: 'integer'
Expand Down Expand Up @@ -24162,6 +24177,32 @@ components:
- 'mode'
- 'tools'
type: 'object'
ToolSearchServerTool:
description: 'OpenRouter built-in server tool: finds tools marked `defer_loading` and makes them callable'
example:
parameters:
max_results: 5
type: 'openrouter:tool_search'
properties:
parameters:
$ref: '#/components/schemas/ToolSearchServerToolConfig'
type:
enum:
- 'openrouter:tool_search'
type: 'string'
required:
- 'type'
type: 'object'
ToolSearchServerToolConfig:
description: 'Configuration for the openrouter:tool_search server tool'
example:
max_results: 5
properties:
max_results:
description: 'Maximum tools returned by one search. Defaults to 5.'
example: 5
type: 'integer'
type: 'object'
TooManyRequestsResponse:
description: 'Too Many Requests - Rate limit exceeded'
example:
Expand Down
Loading