gc
Remove or archive low-scoring memories to free space and optimize memory retention. Preview changes with dry run, archive instead of delete, and set a processing limit.
Instructions
Remove or archive low-scoring memories.
Args: dry_run: Preview without removing. archive_instead: Archive instead of deleting. limit: Max memories to process (1-10,000).
Returns: Dict with removed_count, archived_count, freed_score_sum, memory_ids.
Raises: ValueError: Invalid limit range.
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 |
|---|---|---|---|
| limit | No | ||
| dry_run | No | ||
| archive_instead | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||