upload_to_file_store
Upload a file to a FileSearch store to enable semantic search. Files are chunked and embedded for retrieval.
Instructions
Upload a file to a FileSearch store for semantic search.
Supported: text, code, PDF, and other document formats. Files are chunked and embedded by Google for retrieval.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"store_name": "<store_name>",
"file_path": "<file_path>"
},
"name": "upload_to_file_store"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_name | Yes | Store resource name (from create_file_store) | |
| file_path | Yes | Path to the local file to upload | |
| display_name | No | Display name for the file in the store |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |