Skip to content

Commit d62640c

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

1 file changed

Lines changed: 40 additions & 0 deletions

File tree

‎.speakeasy/in.openapi.yaml‎

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10350,6 +10350,7 @@ components:
1035010350
- $ref: '#/components/schemas/OutputFusionServerToolItem'
1035110351
- $ref: '#/components/schemas/OutputAdvisorServerToolItem'
1035210352
- $ref: '#/components/schemas/OutputSubagentServerToolItem'
10353+
- $ref: '#/components/schemas/OutputFilesServerToolItem'
1035310354
- $ref: '#/components/schemas/LocalShellCallItem'
1035410355
- $ref: '#/components/schemas/LocalShellCallOutputItem'
1035510356
- $ref: '#/components/schemas/ShellCallItem'
@@ -16296,6 +16297,43 @@ components:
1629616297
- status
1629716298
- type
1629816299
type: object
16300+
OutputFilesServerToolItem:
16301+
description: An openrouter:files server tool output item
16302+
example:
16303+
filename: notes.txt
16304+
id: fl_tmp_abc123
16305+
operation: read
16306+
result: '{"id":"file_abc","filename":"notes.txt","content":"hello"}'
16307+
status: completed
16308+
type: openrouter:files
16309+
properties:
16310+
error:
16311+
description: Error message when the file operation failed.
16312+
type: string
16313+
file_id:
16314+
description: The target file id supplied in the tool-call arguments.
16315+
type: string
16316+
filename:
16317+
description: The target filename supplied in the tool-call arguments.
16318+
type: string
16319+
id:
16320+
type: string
16321+
operation:
16322+
description: The file operation performed (list, read, write, or edit).
16323+
type: string
16324+
result:
16325+
description: JSON-serialized result of the file operation.
16326+
type: string
16327+
status:
16328+
$ref: '#/components/schemas/ToolCallStatus'
16329+
type:
16330+
enum:
16331+
- openrouter:files
16332+
type: string
16333+
required:
16334+
- status
16335+
- type
16336+
type: object
1629916337
OutputFunctionCallItem:
1630016338
allOf:
1630116339
- $ref: '#/components/schemas/OutputItemFunctionCall'
@@ -16748,6 +16786,7 @@ components:
1674816786
openrouter:datetime: '#/components/schemas/OutputDatetimeItem'
1674916787
openrouter:experimental__search_models: '#/components/schemas/OutputSearchModelsServerToolItem'
1675016788
openrouter:file_search: '#/components/schemas/OutputFileSearchServerToolItem'
16789+
openrouter:files: '#/components/schemas/OutputFilesServerToolItem'
1675116790
openrouter:fusion: '#/components/schemas/OutputFusionServerToolItem'
1675216791
openrouter:image_generation: '#/components/schemas/OutputImageGenerationServerToolItem'
1675316792
openrouter:mcp: '#/components/schemas/OutputMcpServerToolItem'
@@ -16799,6 +16838,7 @@ components:
1679916838
- $ref: '#/components/schemas/OutputFusionServerToolItem'
1680016839
- $ref: '#/components/schemas/OutputAdvisorServerToolItem'
1680116840
- $ref: '#/components/schemas/OutputSubagentServerToolItem'
16841+
- $ref: '#/components/schemas/OutputFilesServerToolItem'
1680216842
- $ref: '#/components/schemas/OutputCustomToolCallItem'
1680316843
OutputItemWebSearchCall:
1680416844
example:

0 commit comments

Comments
 (0)