Skip to content

Commit 5b51d14

Browse files
author
OpenRouter SDK Bot
committed
chore: update OpenAPI spec [sdk-bot]
1 parent 75678a0 commit 5b51d14

1 file changed

Lines changed: 39 additions & 0 deletions

File tree

.speakeasy/in.openapi.yaml

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19401,6 +19401,43 @@ components:
1940119401
- type
1940219402
- data
1940319403
type: object
19404+
ReasoningDetailServerToolCall:
19405+
description: >-
19406+
Record of an OpenRouter server-tool invocation (e.g. openrouter:fusion), carried in reasoning_details so a prior
19407+
tool call can be rehydrated into a later turn of the same conversation.
19408+
example:
19409+
arguments: '{"prompt":"Compare carbon tax proposals"}'
19410+
result: '{"status":"ok","models":["openai/gpt-4o"]}'
19411+
tool_call_id: call_abc123
19412+
tool_name: openrouter:fusion
19413+
type: reasoning.server_tool_call
19414+
properties:
19415+
arguments:
19416+
type: string
19417+
format:
19418+
$ref: '#/components/schemas/ReasoningFormat'
19419+
id:
19420+
nullable: true
19421+
type: string
19422+
index:
19423+
type: integer
19424+
result:
19425+
type: string
19426+
tool_call_id:
19427+
nullable: true
19428+
type: string
19429+
tool_name:
19430+
type: string
19431+
type:
19432+
enum:
19433+
- reasoning.server_tool_call
19434+
type: string
19435+
required:
19436+
- type
19437+
- tool_name
19438+
- arguments
19439+
- result
19440+
type: object
1940419441
ReasoningDetailSummary:
1940519442
description: Reasoning detail summary schema
1940619443
example:
@@ -19456,6 +19493,7 @@ components:
1945619493
discriminator:
1945719494
mapping:
1945819495
reasoning.encrypted: '#/components/schemas/ReasoningDetailEncrypted'
19496+
reasoning.server_tool_call: '#/components/schemas/ReasoningDetailServerToolCall'
1945919497
reasoning.summary: '#/components/schemas/ReasoningDetailSummary'
1946019498
reasoning.text: '#/components/schemas/ReasoningDetailText'
1946119499
propertyName: type
@@ -19466,6 +19504,7 @@ components:
1946619504
- $ref: '#/components/schemas/ReasoningDetailSummary'
1946719505
- $ref: '#/components/schemas/ReasoningDetailEncrypted'
1946819506
- $ref: '#/components/schemas/ReasoningDetailText'
19507+
- $ref: '#/components/schemas/ReasoningDetailServerToolCall'
1946919508
ReasoningDoneEvent:
1947019509
allOf:
1947119510
- $ref: '#/components/schemas/BaseReasoningDoneEvent'

0 commit comments

Comments
 (0)