cache_get
Check for a cached LLM response from an identical prior request and return it to avoid redundant API calls.
Instructions
Check if an identical LLM request was already executed and cached. Returns the cached response or null.
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": {
"messages": "<messages>",
"model": "<model>"
},
"name": "cache_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | The messages array that will be sent to the LLM. | |
| model | Yes | The model identifier. |