Skip to content

Commit 2183d8c

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 9bda905 commit 2183d8c

1 file changed

Lines changed: 30 additions & 6 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 30 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22717,12 +22717,16 @@ components:
2271722717
properties:
2271822718
call_id:
2271922719
type: 'string'
22720+
error:
22721+
description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.'
22722+
example: 'Tool execution failed'
22723+
type: 'string'
2272022724
id:
2272122725
type: 'string'
2272222726
operation:
2272322727
$ref: '#/components/schemas/ApplyPatchCallOperation'
2272422728
status:
22725-
$ref: '#/components/schemas/ToolCallStatus'
22729+
$ref: '#/components/schemas/FailableToolCallStatus'
2272622730
type:
2272722731
enum:
2272822732
- 'openrouter:apply_patch'
@@ -22975,10 +22979,14 @@ components:
2297522979
datetime:
2297622980
description: 'ISO 8601 datetime string'
2297722981
type: 'string'
22982+
error:
22983+
description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.'
22984+
example: 'Tool execution failed'
22985+
type: 'string'
2297822986
id:
2297922987
type: 'string'
2298022988
status:
22981-
$ref: '#/components/schemas/ToolCallStatus'
22989+
$ref: '#/components/schemas/FailableToolCallStatus'
2298222990
timezone:
2298322991
description: 'IANA timezone name'
2298422992
type: 'string'
@@ -23186,6 +23194,10 @@ components:
2318623194
status: 'completed'
2318723195
type: 'openrouter:image_generation'
2318823196
properties:
23197+
error:
23198+
description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.'
23199+
example: 'Tool execution failed'
23200+
type: 'string'
2318923201
id:
2319023202
type: 'string'
2319123203
imageB64:
@@ -23203,7 +23215,7 @@ components:
2320323215
revisedPrompt:
2320423216
type: 'string'
2320523217
status:
23206-
$ref: '#/components/schemas/ToolCallStatus'
23218+
$ref: '#/components/schemas/FailableToolCallStatus'
2320723219
type:
2320823220
enum:
2320923221
- 'openrouter:image_generation'
@@ -23920,12 +23932,16 @@ components:
2392023932
arguments:
2392123933
description: 'The JSON arguments submitted to the search tool (e.g. {"query":"Claude"})'
2392223934
type: 'string'
23935+
error:
23936+
description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.'
23937+
example: 'Tool execution failed'
23938+
type: 'string'
2392323939
id:
2392423940
type: 'string'
2392523941
query:
2392623942
type: 'string'
2392723943
status:
23928-
$ref: '#/components/schemas/ToolCallStatus'
23944+
$ref: '#/components/schemas/FailableToolCallStatus'
2392923945
type:
2393023946
enum:
2393123947
- 'openrouter:experimental__search_models'
@@ -24237,12 +24253,16 @@ components:
2423724253
status: 'completed'
2423824254
type: 'openrouter:tool_search'
2423924255
properties:
24256+
error:
24257+
description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.'
24258+
example: 'Tool execution failed'
24259+
type: 'string'
2424024260
id:
2424124261
type: 'string'
2424224262
query:
2424324263
type: 'string'
2424424264
status:
24245-
$ref: '#/components/schemas/ToolCallStatus'
24265+
$ref: '#/components/schemas/FailableToolCallStatus'
2424624266
type:
2424724267
enum:
2424824268
- 'openrouter:tool_search'
@@ -24332,10 +24352,14 @@ components:
2433224352
- 'type'
2433324353
- 'query'
2433424354
type: 'object'
24355+
error:
24356+
description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.'
24357+
example: 'Tool execution failed'
24358+
type: 'string'
2433524359
id:
2433624360
type: 'string'
2433724361
status:
24338-
$ref: '#/components/schemas/ToolCallStatus'
24362+
$ref: '#/components/schemas/FailableToolCallStatus'
2433924363
type:
2434024364
enum:
2434124365
- 'openrouter:web_search'

0 commit comments

Comments
 (0)