---
title: "FilesServerTool"
---

OpenRouter built-in server tool: read, write, edit, and list workspace files via the Files API. Requires the `x-openrouter-file-ids: openrouter` request header.


## Fields

| Field                                                                                | Type                                                                                 | Required                                                                             | Description                                                                          | Example                                                                              |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `parameters`                                                                         | [Optional[components.FilesServerToolConfig]](../components/filesservertoolconfig.mdx) | :heavy_minus_sign:                                                                   | Configuration for the openrouter:files server tool                                   | \{}                                                                                   |
| `type`                                                                               | [components.FilesServerToolType](../components/filesservertooltype.mdx)               | :heavy_check_mark:                                                                   | N/A                                                                                  |                                                                                      |