Skip to content

Commit 0ade477

Browse files
openrouter-docs-sync[bot]OpenRouter SDK Bot
andauthored
chore: update OpenAPI spec from monorepo (#423)
Co-authored-by: OpenRouter SDK Bot <sdk-bot@openrouter.ai>
1 parent 4a9b45c commit 0ade477

1 file changed

Lines changed: 97 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 97 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,102 @@ components:
127127
required:
128128
- data
129129
type: object
130+
AdditionalToolsItem:
131+
description: Additional tools made available to the model at this point in the input
132+
example:
133+
role: developer
134+
tools:
135+
- name: get_weather
136+
parameters:
137+
properties:
138+
location:
139+
type: string
140+
type: object
141+
type: function
142+
type: additional_tools
143+
properties:
144+
id:
145+
nullable: true
146+
type: string
147+
role:
148+
enum:
149+
- unknown
150+
- user
151+
- assistant
152+
- system
153+
- critic
154+
- discriminator
155+
- developer
156+
- tool
157+
type: string
158+
tools:
159+
items:
160+
anyOf:
161+
- allOf:
162+
- $ref: '#/components/schemas/FunctionTool'
163+
- properties: {}
164+
type: object
165+
description: Function tool definition
166+
example:
167+
description: Get the current weather in a location
168+
name: get_weather
169+
parameters:
170+
properties:
171+
location:
172+
description: The city and state
173+
type: string
174+
unit:
175+
enum:
176+
- celsius
177+
- fahrenheit
178+
type: string
179+
required:
180+
- location
181+
type: object
182+
type: function
183+
- $ref: '#/components/schemas/Preview_WebSearchServerTool'
184+
- $ref: '#/components/schemas/Preview_20250311_WebSearchServerTool'
185+
- $ref: '#/components/schemas/Legacy_WebSearchServerTool'
186+
- $ref: '#/components/schemas/WebSearchServerTool'
187+
- $ref: '#/components/schemas/FileSearchServerTool'
188+
- $ref: '#/components/schemas/ComputerUseServerTool'
189+
- $ref: '#/components/schemas/CodeInterpreterServerTool'
190+
- $ref: '#/components/schemas/McpServerTool'
191+
- $ref: '#/components/schemas/ImageGenerationServerTool'
192+
- $ref: '#/components/schemas/CodexLocalShellTool'
193+
- $ref: '#/components/schemas/ShellServerTool'
194+
- $ref: '#/components/schemas/ApplyPatchServerTool'
195+
- $ref: '#/components/schemas/CustomTool'
196+
- $ref: '#/components/schemas/AdvisorServerTool_OpenRouter'
197+
- $ref: '#/components/schemas/SubagentServerTool_OpenRouter'
198+
- $ref: '#/components/schemas/DatetimeServerTool'
199+
- $ref: '#/components/schemas/FilesServerTool'
200+
- $ref: '#/components/schemas/FusionServerTool_OpenRouter'
201+
- $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
202+
- $ref: '#/components/schemas/ChatSearchModelsServerTool'
203+
- $ref: '#/components/schemas/WebFetchServerTool'
204+
- $ref: '#/components/schemas/WebSearchServerTool_OpenRouter'
205+
- $ref: '#/components/schemas/ApplyPatchServerTool_OpenRouter'
206+
- $ref: '#/components/schemas/BashServerTool'
207+
- $ref: '#/components/schemas/ShellServerTool_OpenRouter'
208+
- additionalProperties:
209+
nullable: true
210+
properties:
211+
type:
212+
type: string
213+
required:
214+
- type
215+
type: object
216+
type: array
217+
type:
218+
enum:
219+
- additional_tools
220+
type: string
221+
required:
222+
- type
223+
- role
224+
- tools
225+
type: object
130226
AdvisorNestedTool:
131227
additionalProperties:
132228
nullable: true
@@ -10391,6 +10487,7 @@ components:
1039110487
- $ref: '#/components/schemas/CustomToolCallOutputItem'
1039210488
- $ref: '#/components/schemas/CompactionItem'
1039310489
- $ref: '#/components/schemas/ItemReferenceItem'
10490+
- $ref: '#/components/schemas/AdditionalToolsItem'
1039410491
type: array
1039510492
description: Input for a response request - can be a string or array of items
1039610493
example:

0 commit comments

Comments
 (0)