delete_context_cache
Remove a cached context for Gemini to free resources or reset state. Provide the cache name from creation.
Instructions
Delete a Gemini context cache.
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": {
"cache_name": "<cache_name>"
},
"name": "delete_context_cache"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cache_name | Yes | Cache name to delete (from create_context_cache) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |