> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter-d02e98a0-mintlify-5b6e02fd.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# FileSearchServerTool - Python SDK

> FileSearchServerTool method reference

<Warning>
  The Python SDK and docs are currently in beta.
  Report issues on [GitHub](https://github.com/OpenRouterTeam/python-sdk/issues).
</Warning>

File search tool configuration

## Fields

| Field              | Type                                                                                     | Required             | Description |
| ------------------ | ---------------------------------------------------------------------------------------- | -------------------- | ----------- |
| `filters`          | [OptionalNullable\[components.FiltersUnion\]](../components/filtersunion.md)             | :heavy\_minus\_sign: | N/A         |
| `max_num_results`  | *Optional\[int]*                                                                         | :heavy\_minus\_sign: | N/A         |
| `ranking_options`  | [Optional\[components.RankingOptions\]](../components/rankingoptions.md)                 | :heavy\_minus\_sign: | N/A         |
| `type`             | [components.TypeFileSearch](/client-sdks/python/api-reference/components/typefilesearch) | :heavy\_check\_mark: | N/A         |
| `vector_store_ids` | List\[*str*]                                                                             | :heavy\_check\_mark: | N/A         |
