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

# FileSearchServerTool - Go SDK

> FileSearchServerTool type definition

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

File search tool configuration

## Fields

| Field            | Type                                                                                                             | Required             | Description |
| ---------------- | ---------------------------------------------------------------------------------------------------------------- | -------------------- | ----------- |
| `Filters`        | optionalnullable.OptionalNullable\[[components.FiltersUnion](/client-sdks/go/api-reference/models/filtersunion)] | :heavy\_minus\_sign: | N/A         |
| `MaxNumResults`  | `*int64`                                                                                                         | :heavy\_minus\_sign: | N/A         |
| `RankingOptions` | [\*components.RankingOptions](/client-sdks/go/api-reference/models/rankingoptions)                               | :heavy\_minus\_sign: | N/A         |
| `Type`           | [components.TypeFileSearch](/client-sdks/go/api-reference/models/typefilesearch)                                 | :heavy\_check\_mark: | N/A         |
| `VectorStoreIds` | \[]`string`                                                                                                      | :heavy\_check\_mark: | N/A         |
