cache_query
Send an LLM request through the caching proxy. Returns cached response if available, otherwise proxies to upstream LLM.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | JSON request body as string | |
| path | Yes | API path (e.g. /v1/chat/completions) | |
| api_key | Yes | API key for the upstream provider | |
| provider | Yes | LLM provider to proxy to | |
| cache_ttl | No | Cache TTL in seconds (default 86400) |