Skip to content

Commit 23c8b6d

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent fcb71b9 commit 23c8b6d

1 file changed

Lines changed: 34 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23637,6 +23637,7 @@ components:
2363723637
reasoning: '#/components/schemas/OutputReasoningItem'
2363823638
shell_call: '#/components/schemas/OutputShellCallItem'
2363923639
shell_call_output: '#/components/schemas/OutputShellCallOutputItem'
23640+
tool_search_call: '#/components/schemas/OutputToolSearchCallItem'
2364023641
web_search_call: '#/components/schemas/OutputWebSearchCallItem'
2364123642
propertyName: 'type'
2364223643
example:
@@ -23679,6 +23680,7 @@ components:
2367923680
- $ref: '#/components/schemas/OutputSubagentServerToolItem'
2368023681
- $ref: '#/components/schemas/OutputFilesServerToolItem'
2368123682
- $ref: '#/components/schemas/OutputCustomToolCallItem'
23683+
- $ref: '#/components/schemas/OutputToolSearchCallItem'
2368223684
OutputItemWebSearchCall:
2368323685
additionalProperties: {}
2368423686
example:
@@ -24248,6 +24250,38 @@ components:
2424824250
- 'status'
2424924251
- 'type'
2425024252
type: 'object'
24253+
OutputToolSearchCallItem:
24254+
description: 'A call the model made to a `tool_search` tool declared with `"execution": "client"`. The client runs the search and replays this item with a `tool_search_output` item.'
24255+
example:
24256+
arguments:
24257+
query: 'weather'
24258+
call_id: 'call-abc123'
24259+
execution: 'client'
24260+
id: 'tsc-abc123'
24261+
status: 'completed'
24262+
type: 'tool_search_call'
24263+
properties:
24264+
arguments: {}
24265+
call_id:
24266+
type: 'string'
24267+
execution:
24268+
enum:
24269+
- 'client'
24270+
type: 'string'
24271+
id:
24272+
type: 'string'
24273+
status:
24274+
$ref: '#/components/schemas/ToolCallStatus'
24275+
type:
24276+
enum:
24277+
- 'tool_search_call'
24278+
type: 'string'
24279+
required:
24280+
- 'type'
24281+
- 'execution'
24282+
- 'call_id'
24283+
- 'status'
24284+
type: 'object'
2425124285
OutputToolSearchServerToolItem:
2425224286
description: 'An openrouter:tool_search server tool output item'
2425324287
example:

0 commit comments

Comments
 (0)