---
title: "FileSearchServerTool"
---

File search tool configuration


## Fields

| Field                                                                      | Type                                                                       | Required                                                                   | Description                                                                |
| -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| `filters`                                                                  | [OptionalNullable[components.FiltersUnion]](../components/filtersunion.mdx) | :heavy_minus_sign:                                                         | N/A                                                                        |
| `max_num_results`                                                          | *Optional[int]*                                                            | :heavy_minus_sign:                                                         | N/A                                                                        |
| `ranking_options`                                                          | [Optional[components.RankingOptions]](../components/rankingoptions.mdx)     | :heavy_minus_sign:                                                         | N/A                                                                        |
| `type`                                                                     | [components.TypeFileSearch](../components/typefilesearch.mdx)               | :heavy_check_mark:                                                         | N/A                                                                        |
| `vector_store_ids`                                                         | List[*str*]                                                                | :heavy_check_mark:                                                         | N/A                                                                        |