# Class FileSearchTool (0.7.0)

0.7.0 (latest) 0.6.0 0.5.0 0.4.0 0.3.0

    FileSearchTool(mapping=None, *, ignore_unknown_fields=False, **kwargs)

The file search tool allows the agent to search across the
files uploaded by the app/agent developer. It has presets to
give relatively good quality search over the uploaded files and
summarization of the retrieved results.

| ## Attributes ||
|---|---|
| **Name** | **Description** |
| `corpus_type` | `https://docs.cloud.google.com/python/docs/reference/google-cloud-ces/latest/google.cloud.ces_v1.types.FileSearchTool.CorpusType` Optional. The type of the corpus. Default is FULLY_MANAGED. |
| `name` | `str` Required. The tool name. |
| `description` | `str` Optional. The tool description. |
| `file_corpus` | `str` Optional. The corpus where files are stored. Format: projects/{project}/locations/{location}/ragCorpora/{rag_corpus} |

## Classes

### CorpusType

    CorpusType(value)

The type of the Vertex RAG corpus.