cache_set
Store an LLM response in cache after receiving it to prevent re-paying for identical future requests.
Instructions
Store an LLM response in the cache. Call this after receiving a response to avoid re-paying for identical future requests.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| messages | Yes | ||
| model | Yes | ||
| response | Yes | The full LLM response object to cache. | |
| provider | No | Provider name (anthropic, openai, etc.). |