@@ -4536,6 +4536,7 @@ components:
45364536 - $ref: '#/components/schemas/AdvisorServerTool_OpenRouter'
45374537 - $ref: '#/components/schemas/BashServerTool'
45384538 - $ref: '#/components/schemas/DatetimeServerTool'
4539+ - $ref: '#/components/schemas/FilesServerTool'
45394540 - $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
45404541 - $ref: '#/components/schemas/ChatSearchModelsServerTool'
45414542 - $ref: '#/components/schemas/SubagentServerTool_OpenRouter'
@@ -7584,6 +7585,28 @@ components:
75847585 - type
75857586 - vector_store_ids
75867587 type: object
7588+ FilesServerTool:
7589+ description: >-
7590+ OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires the
7591+ `x-openrouter-file-ids: openrouter` request header.
7592+ example:
7593+ parameters: {}
7594+ type: openrouter:files
7595+ properties:
7596+ parameters:
7597+ $ref: '#/components/schemas/FilesServerToolConfig'
7598+ type:
7599+ enum:
7600+ - openrouter:files
7601+ type: string
7602+ required:
7603+ - type
7604+ type: object
7605+ FilesServerToolConfig:
7606+ description: Configuration for the openrouter:files server tool
7607+ example: {}
7608+ properties: {}
7609+ type: object
75877610 ForbiddenResponse:
75887611 description: Forbidden - Authentication successful but insufficient permissions
75897612 example:
@@ -19873,6 +19896,7 @@ components:
1987319896 - $ref: '#/components/schemas/AdvisorServerTool_OpenRouter'
1987419897 - $ref: '#/components/schemas/SubagentServerTool_OpenRouter'
1987519898 - $ref: '#/components/schemas/DatetimeServerTool'
19899+ - $ref: '#/components/schemas/FilesServerTool'
1987619900 - $ref: '#/components/schemas/FusionServerTool_OpenRouter'
1987719901 - $ref: '#/components/schemas/ImageGenerationServerTool_OpenRouter'
1987819902 - $ref: '#/components/schemas/ChatSearchModelsServerTool'
0 commit comments