cache_lookup
Retrieve cached LLM responses by prompt text or cache key to avoid redundant processing and save tokens.
Instructions
Look up a cached result by prompt text or pre-computed cache key. Returns {hit: true, result, tokens_saved} or {hit: false}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prompt | No | ||
| cache_key | No | ||
| client_id | No | default |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||