cache_get
Retrieve a cached result to skip re-executing the original tool, reducing AI API costs.
Instructions
Retrieve a cached result. If hit, skip re-running the original tool.
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": {
"key": "<key>"
},
"name": "cache_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Cache key used in cache_store. | |
| namespace | No | Must match the namespace used in cache_store. | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||