gemini_updateCache
Update cached content metadata (TTL and/or displayName) by specifying the unique cache name. Ensure accuracy and relevance of cached resources in the MCP Gemini Server.
Instructions
Updates metadata (TTL and/or displayName) for a specific cached content resource. Requires the unique cache name (e.g., 'cachedContents/abc123xyz'). Returns the updated cache metadata.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
cacheName | Yes | Required. The unique name/ID of the cache to update (e.g., 'cachedContents/abc123xyz'). | |
displayName | No | Optional. The new human-readable name for the cache. Max 100 chars. | |
ttl | No | Optional. The new time-to-live for the cache as a duration string (e.g., '3600s' for 1 hour). Max 48 hours. |