diff --git a/.speakeasy/in.openapi.yaml b/.speakeasy/in.openapi.yaml index 04463d8e..04b62831 100644 --- a/.speakeasy/in.openapi.yaml +++ b/.speakeasy/in.openapi.yaml @@ -22717,12 +22717,16 @@ components: properties: call_id: type: 'string' + error: + description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.' + example: 'Tool execution failed' + type: 'string' id: type: 'string' operation: $ref: '#/components/schemas/ApplyPatchCallOperation' status: - $ref: '#/components/schemas/ToolCallStatus' + $ref: '#/components/schemas/FailableToolCallStatus' type: enum: - 'openrouter:apply_patch' @@ -22975,10 +22979,14 @@ components: datetime: description: 'ISO 8601 datetime string' type: 'string' + error: + description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.' + example: 'Tool execution failed' + type: 'string' id: type: 'string' status: - $ref: '#/components/schemas/ToolCallStatus' + $ref: '#/components/schemas/FailableToolCallStatus' timezone: description: 'IANA timezone name' type: 'string' @@ -23186,6 +23194,10 @@ components: status: 'completed' type: 'openrouter:image_generation' properties: + error: + description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.' + example: 'Tool execution failed' + type: 'string' id: type: 'string' imageB64: @@ -23203,7 +23215,7 @@ components: revisedPrompt: type: 'string' status: - $ref: '#/components/schemas/ToolCallStatus' + $ref: '#/components/schemas/FailableToolCallStatus' type: enum: - 'openrouter:image_generation' @@ -23920,12 +23932,16 @@ components: arguments: description: 'The JSON arguments submitted to the search tool (e.g. {"query":"Claude"})' type: 'string' + error: + description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.' + example: 'Tool execution failed' + type: 'string' id: type: 'string' query: type: 'string' status: - $ref: '#/components/schemas/ToolCallStatus' + $ref: '#/components/schemas/FailableToolCallStatus' type: enum: - 'openrouter:experimental__search_models' @@ -24237,12 +24253,16 @@ components: status: 'completed' type: 'openrouter:tool_search' properties: + error: + description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.' + example: 'Tool execution failed' + type: 'string' id: type: 'string' query: type: 'string' status: - $ref: '#/components/schemas/ToolCallStatus' + $ref: '#/components/schemas/FailableToolCallStatus' type: enum: - 'openrouter:tool_search' @@ -24332,10 +24352,14 @@ components: - 'type' - 'query' type: 'object' + error: + description: 'The error message when the tool call failed before producing a result. Set together with `status: ''failed''`; absent on a successful call.' + example: 'Tool execution failed' + type: 'string' id: type: 'string' status: - $ref: '#/components/schemas/ToolCallStatus' + $ref: '#/components/schemas/FailableToolCallStatus' type: enum: - 'openrouter:web_search'