builtin__bg_task_cleanup
Remove completed, failed, or cancelled background tasks from memory. Optionally specify maxAgeMs to clean only tasks older than the given milliseconds.
Instructions
Remove completed, failed, or cancelled tasks from memory. Optionally specify maxAgeMs to only remove tasks older than the given milliseconds.
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": "builtin__bg_task_cleanup"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| maxAgeMs | No |