Cache: List cache trees
metrecept_list_cache_treesLists all isolated exact-replay cache trees a tenant owns, including main first with status, so you can find the tree_id needed by other cache tools. Optionally includes archived trees.
Instructions
List every cache tree (isolated exact-replay namespace) the tenant owns, always including the default "main", ordered main first then by creation time. All trees come back in one call. Each tree reports its status: active, frozen or archived. Use it to find a tree_id for the other cache tools. Not for a tree's contents: use metrecept_list_cache_entries. To create, fork or promote use metrecept_manage_cache_tree; to remove a non-main tree use metrecept_delete_cache_tree. Archived trees are hidden unless include_archived=true. 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "metrecept_list_cache_trees"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| include_archived | No | Also list archived trees (hidden by default). Default false. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |