Cache: List cache entries
metrecept_list_cache_entriesList cache-tree entries to inspect cached call metadata and get digests for eviction; returns request digest, model, token count, byte size, and TTL remaining, not prompt/response content.
Instructions
List entries cached in one tree: request digest, model, token count, byte size and TTL remaining. Metadata only; never returns prompt or response content. Use it to inspect a tree or to get the digest that metrecept_evict_cache_entry needs. Get tree ids from metrecept_list_cache_trees. Page through with offset = previous offset + limit until fewer than limit entries come back. Read-only, not billed, live. Requires a Metrecept API key (METRECEPT_API_KEY env on stdio, or Authorization: Bearer on remote HTTP); results are scoped to that key's tenant only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Entries per page, 1-100 (clamped server-side; default 25). | |
| offset | No | Zero-based offset into the tree's digest index; add limit to page forward (default 0). | |
| tree_id | No | Cache tree id from metrecept_list_cache_trees (default "main"). | main |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |