memory_hierarchy
Organize agent memories into a metadata-driven hierarchy, filter by query, dates, tags, or metadata, and return compact previews to reduce context size.
Instructions
Return memories organised into a hierarchy derived from their metadata.
Args: compact: If True (default), return only id, preview (first 80 chars), and tags per memory to reduce response size. Set to False for full memory data.
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": "memory_hierarchy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| compact | No | ||
| date_to | No | ||
| tags_all | No | ||
| tags_any | No | ||
| date_from | No | ||
| tags_none | No | ||
| include_root | No | ||
| metadata_filters | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |