You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 20970a5
Browse filesBrowse the repository at this point in the historyBrowse files
description: 'Code interpreter tool configuration. An existing container id or `container.file_ids` requires BYOK (your own OpenAI key); requests on OpenRouter credits must use `auto` with no `file_ids`.'
9545
9545
example:
9546
9546
container: 'auto'
9547
9547
type: 'code_interpreter'
@@ -12166,6 +12166,13 @@ components:
12166
12166
type: 'bm25'
12167
12167
validation: 'runtime'
12168
12168
properties:
12169
+
cascade_mode:
12170
+
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.'
12171
+
enum:
12172
+
- 'keywords'
12173
+
- 'native'
12174
+
type: 'string'
12175
+
x-speakeasy-unknown-values: allow
12169
12176
interface:
12170
12177
description: 'How the universal profile exposes the hidden catalog to the provider. Absent or `wrappers`: the `tool_search` and `tool_exec` tools. `code_mode`: one `tool_code` tool that runs a short JavaScript program in which `search()` and `call()` reach the catalog, so several searches and calls complete in one tool result. Experimental.'
12171
12178
enum:
@@ -12185,10 +12192,11 @@ components:
12185
12192
- 'v1'
12186
12193
type: 'string'
12187
12194
scope:
12188
-
description: 'Which tools the universal profile defers. Absent or `all`: every wrappable tool outside the coding-harness core set. `mcp`: only MCP server tools (`mcp__*` names and Responses namespaces outside `functions`); the harness keeps its own built-in tools direct. Experimental.'
12195
+
description: 'Which tools the universal profile defers. Absent or `all`: every wrappable tool outside the coding-harness core set. `mcp`: only MCP server tools (`mcp__*` names and Responses namespaces outside `functions`); the harness keeps its own built-in tools direct. `client`: only the tools the client itself marked `defer_loading`, so a harness with its own tool search keeps its other direct tools direct; an adopted client tool search is still replaced by the router wrappers, and a client-deferred tool the router cannot wrap stays direct. Experimental.'
12189
12196
enum:
12190
12197
- 'all'
12191
12198
- 'mcp'
12199
+
- 'client'
12192
12200
type: 'string'
12193
12201
x-speakeasy-unknown-values: allow
12194
12202
search:
@@ -13763,7 +13771,7 @@ components:
13763
13771
- $ref: '#/components/schemas/OpenAIFile'
13764
13772
- $ref: '#/components/schemas/AnthropicFile'
13765
13773
FileSearchServerTool:
13766
-
description: 'File search tool configuration'
13774
+
description: 'File search tool configuration. `vector_store_ids` names OpenAI vector stores, so it requires BYOK (your own OpenAI key); requests on OpenRouter credits get a 400.'
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.
6
+
7
+
## Example Usage
8
+
9
+
```python
10
+
from openrouter.components import CascadeMode
11
+
12
+
# Open enum: unrecognized values are captured as UnrecognizedStr
13
+
value: CascadeMode ="keywords"
14
+
```
15
+
16
+
17
+
## Values
18
+
19
+
This is an open enum. Unrecognized values will not fail type checks.
Copy file name to clipboardExpand all lines: docs/components/codeinterpreterservertool.mdx
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,7 @@
2
2
title: "CodeInterpreterServerTool"
3
3
---
4
4
5
-
Code interpreter tool configuration
5
+
Code interpreter tool configuration. An existing container id or `container.file_ids` requires BYOK (your own OpenAI key); requests on OpenRouter credits must use `auto` with no `file_ids`.
0 commit comments