Skip to content

Commit b3bc8d4

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 2b1df42 commit b3bc8d4

1 file changed

Lines changed: 47 additions & 6 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 47 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -169,6 +169,10 @@ components:
169169
- allOf:
170170
- $ref: '#/components/schemas/FunctionTool'
171171
- properties:
172+
async:
173+
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
174+
example: true
175+
type: 'boolean'
172176
defer_loading:
173177
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.'
174178
example: true
@@ -4103,6 +4107,10 @@ components:
41034107
- allOf:
41044108
- $ref: '#/components/schemas/FunctionTool'
41054109
- properties:
4110+
async:
4111+
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
4112+
example: true
4113+
type: 'boolean'
41064114
defer_loading:
41074115
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.'
41084116
example: true
@@ -7931,6 +7939,10 @@ components:
79317939
name: 'my_tool'
79327940
type: 'custom'
79337941
properties:
7942+
async:
7943+
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
7944+
example: true
7945+
type: 'boolean'
79347946
description:
79357947
type: 'string'
79367948
format:
@@ -9304,17 +9316,17 @@ components:
93049316
example:
93059317
analysis_models:
93069318
- '~anthropic/claude-opus-latest'
9307-
- '~openai/gpt-latest'
9319+
- '~openai/gpt-sol-latest'
93089320
- '~google/gemini-pro-latest'
93099321
enabled: true
93109322
id: 'fusion'
93119323
model: '~anthropic/claude-opus-latest'
93129324
properties:
93139325
analysis_models:
9314-
description: 'For a Fusion run started by the `openrouter/fusion` model slug or `openrouter:fusion` server tool, slugs of models to run in parallel as the "expert panel" the analyst analyzes. Each model receives the same user prompt with web_search + web_fetch enabled. Capped at 8 models to bound cost amplification. When omitted, defaults to the Quality preset from the /labs/fusion UI (~anthropic/claude-opus-latest, ~openai/gpt-latest, ~google/gemini-pro-latest).'
9326+
description: 'For a Fusion run started by the `openrouter/fusion` model slug or `openrouter:fusion` server tool, slugs of models to run in parallel as the "expert panel" the analyst analyzes. Each model receives the same user prompt with web_search + web_fetch enabled. Capped at 8 models to bound cost amplification. When omitted, defaults to the Quality preset from the /labs/fusion UI (~anthropic/claude-opus-latest, ~openai/gpt-sol-latest, ~google/gemini-pro-latest).'
93159327
example:
93169328
- '~anthropic/claude-opus-latest'
9317-
- '~openai/gpt-latest'
9329+
- '~openai/gpt-sol-latest'
93189330
- '~google/gemini-pro-latest'
93199331
items:
93209332
type: 'string'
@@ -9402,7 +9414,7 @@ components:
94029414
parameters:
94039415
analysis_models:
94049416
- '~anthropic/claude-opus-latest'
9405-
- '~openai/gpt-latest'
9417+
- '~openai/gpt-sol-latest'
94069418
type: 'openrouter:fusion'
94079419
properties:
94089420
parameters:
@@ -9419,14 +9431,14 @@ components:
94199431
example:
94209432
analysis_models:
94219433
- '~anthropic/claude-opus-latest'
9422-
- '~openai/gpt-latest'
9434+
- '~openai/gpt-sol-latest'
94239435
- '~google/gemini-pro-latest'
94249436
properties:
94259437
analysis_models:
94269438
description: 'Slugs of models to run in parallel as the analysis panel. Each model receives the user prompt with openrouter:web_search and openrouter:web_fetch enabled, then an analyst model summarizes the collective output into structured analysis JSON. Capped at 8 models to bound cost amplification. Defaults to the Quality preset from /labs/fusion.'
94279439
example:
94289440
- '~anthropic/claude-opus-latest'
9429-
- '~openai/gpt-latest'
9441+
- '~openai/gpt-sol-latest'
94309442
- '~google/gemini-pro-latest'
94319443
items:
94329444
type: 'string'
@@ -15073,6 +15085,10 @@ components:
1507315085
type:
1507415086
- 'array'
1507515087
- 'null'
15088+
async:
15089+
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
15090+
example: true
15091+
type: 'boolean'
1507615092
defer_loading:
1507715093
type: 'boolean'
1507815094
description:
@@ -17816,6 +17832,10 @@ components:
1781617832
name: 'apply_patch'
1781717833
type: 'custom_tool_call'
1781817834
properties:
17835+
async:
17836+
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
17837+
example: true
17838+
type: 'boolean'
1781917839
call_id:
1782017840
type: 'string'
1782117841
id:
@@ -17882,6 +17902,10 @@ components:
1788217902
properties:
1788317903
arguments:
1788417904
type: 'string'
17905+
async:
17906+
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
17907+
example: true
17908+
type: 'boolean'
1788517909
call_id:
1788617910
type: 'string'
1788717911
id:
@@ -19290,6 +19314,10 @@ components:
1929019314
status: 'completed'
1929119315
type: 'custom_tool_call'
1929219316
properties:
19317+
async:
19318+
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
19319+
example: true
19320+
type: 'boolean'
1929319321
call_id:
1929419322
type: 'string'
1929519323
id:
@@ -19720,6 +19748,10 @@ components:
1972019748
status: 'completed'
1972119749
type: 'custom_tool_call'
1972219750
properties:
19751+
async:
19752+
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
19753+
example: true
19754+
type: 'boolean'
1972319755
call_id:
1972419756
type: 'string'
1972519757
id:
@@ -19837,6 +19869,10 @@ components:
1983719869
properties:
1983819870
arguments:
1983919871
type: 'string'
19872+
async:
19873+
description: 'True when the model called a tool declared with `async: true` and may continue its turn before the output is returned. Return the result in a later request as a `function_call_output` with this `call_id`.'
19874+
example: true
19875+
type: 'boolean'
1984019876
call_id:
1984119877
type: 'string'
1984219878
id:
@@ -23399,6 +23435,7 @@ components:
2339923435
- 'failed_to_download_image'
2340023436
- 'image_file_not_found'
2340123437
- 'bio_policy'
23438+
- 'cyber_policy'
2340223439
- 'misalignment_policy_violation'
2340323440
- 'data_residency_mismatch'
2340423441
type: 'string'
@@ -23584,6 +23621,10 @@ components:
2358423621
- allOf:
2358523622
- $ref: '#/components/schemas/FunctionTool'
2358623623
- properties:
23624+
async:
23625+
description: 'Lets the model keep working after calling this tool instead of waiting for its output. The tool is still executed by the client; return the result in a later request as a `function_call_output` with the original `call_id`. Only honored by providers whose Responses API supports async tools; ignored elsewhere.'
23626+
example: true
23627+
type: 'boolean'
2358723628
defer_loading:
2358823629
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.'
2358923630
example: true

0 commit comments

Comments
 (0)