gc
Remove or archive low-scoring memories that have fallen below the forget threshold to prevent database growth and maintain memory efficiency.
Instructions
Perform garbage collection on low-scoring memories.
Removes or archives memories whose decay score has fallen below the
forget threshold. This prevents the database from growing indefinitely
with unused memories.
Args:
dry_run: Preview what would be removed without actually removing.
archive_instead: Archive memories instead of deleting.
limit: Maximum number of memories to process.
Returns:
Statistics about removed/archived memories.
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": "gc"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive_instead | No | ||
| dry_run | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||