agentbay_memory_compact
Remove expired, archive stale, and merge duplicate memories. Use dry-run mode to preview changes before applying.
Instructions
Run memory compaction: TTL expiration, stale archival, duplicate merge. Supports dry-run mode.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>"
},
"name": "agentbay_memory_compact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | No | Preview without making changes (default: false) | |
| projectId | Yes | Project ID | |
| staleDays | No | Days without verification to consider stale (default: 60) |