Skip to content

Commit 849a1b9

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#494)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 80c1c46 commit 849a1b9

1 file changed

Lines changed: 49 additions & 1 deletion

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1997,6 +1997,52 @@ components:
19971997
- 'error_message'
19981998
- 'type'
19991999
type: 'object'
2000+
AnthropicToolSearchToolBm25:
2001+
properties:
2002+
allowed_callers:
2003+
$ref: '#/components/schemas/AnthropicAllowedCallers'
2004+
cache_control:
2005+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
2006+
defer_loading:
2007+
type: 'boolean'
2008+
name:
2009+
enum:
2010+
- 'tool_search_tool_bm25'
2011+
type: 'string'
2012+
strict:
2013+
type: 'boolean'
2014+
type:
2015+
enum:
2016+
- 'tool_search_tool_bm25_20251119'
2017+
- 'tool_search_tool_bm25'
2018+
type: 'string'
2019+
required:
2020+
- 'type'
2021+
- 'name'
2022+
type: 'object'
2023+
AnthropicToolSearchToolRegex:
2024+
properties:
2025+
allowed_callers:
2026+
$ref: '#/components/schemas/AnthropicAllowedCallers'
2027+
cache_control:
2028+
$ref: '#/components/schemas/AnthropicCacheControlDirective'
2029+
defer_loading:
2030+
type: 'boolean'
2031+
name:
2032+
enum:
2033+
- 'tool_search_tool_regex'
2034+
type: 'string'
2035+
strict:
2036+
type: 'boolean'
2037+
type:
2038+
enum:
2039+
- 'tool_search_tool_regex_20251119'
2040+
- 'tool_search_tool_regex'
2041+
type: 'string'
2042+
required:
2043+
- 'type'
2044+
- 'name'
2045+
type: 'object'
20002046
AnthropicToolSearchToolResult:
20012047
example:
20022048
content:
@@ -12807,6 +12853,8 @@ components:
1280712853
required:
1280812854
- 'type'
1280912855
type: 'object'
12856+
- $ref: '#/components/schemas/AnthropicToolSearchToolBm25'
12857+
- $ref: '#/components/schemas/AnthropicToolSearchToolRegex'
1281012858
type: 'array'
1281112859
top_k:
1281212860
type: 'integer'
@@ -21034,7 +21082,7 @@ components:
2103421082
- 'voice'
2103521083
type: 'object'
2103621084
StopServerToolsWhen:
21037-
description: 'Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`.'
21085+
description: 'Stop conditions for the server-tool agent loop. Any condition firing halts the loop (OR logic). When set, this overrides `max_tool_calls`. When a condition fires while the model is still emitting tool calls, the pending tool calls are executed and one final turn is made with tool calls disabled so the response ends with a natural-language answer instead of an unfinished tool call.'
2103821086
example:
2103921087
- step_count: 5
2104021088
type: 'step_count_is'

0 commit comments

Comments
 (0)