Gemini Create Cache Tool
gemini_create_cache_toolCreate a content cache to reuse uploaded text or files for repeated Gemini queries, avoiding re-sending the same content each time.
Instructions
Create a content cache for repeated queries.
Upload content once and query it multiple times without re-sending.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | No | Model to use. | flash |
| content | No | Text content to cache (alternative to file_path). | |
| file_path | No | Path to a file to cache. | |
| ttl_minutes | No | Time-to-live in minutes (default 60). | |
| display_name | No | Human-readable name for the cache. | mcp-cache |
| system_instruction | No | System instruction for queries against this cache. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||