cleanup_stale_agents
Remove inactive agents from rooms after a configurable timeout, with optional room cleanup and participant notifications.
Instructions
Clean up stale agents with enhanced options and optional room cleanup
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": "cleanup_stale_agents"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| staleMinutes | No | Minutes after which agents are considered stale (1-1440) | |
| dryRun | No | Perform a dry run without actually cleaning up | |
| includeRoomCleanup | No | Include room cleanup when cleaning up agents | |
| notifyParticipants | No | Notify room participants before cleanup |