agent_memory_cleanup
Clean up orphaned and over-limit server processes while trimming Thread Keeper memory. Preview the plan with dry-run before applying safe cleanup.
Instructions
Trim ThreadKeeper memory and clean orphan/over-limit server processes.
By default this applies the safe cleanup path. Set dry_run=True to inspect the plan first. It does not kill active spawned child agents.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| force | No | ||
| dry_run | No | ||
| json_output | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |