{ "name": "team_replace", "scope": "shared", "sessions": "both", "risk": "interact", "exclusive": false, "block": "task", "purpose": false, "requires": [ "team" ], "unavailable": "The person allows one agent in this chat: there is no team. Do the work yourself.", "aliases": { "cli": [], "llembas": [] }, "offered": "main", "description": "Replace a subagent — one that ran out of context, or one that is stuck: it ends (stopped, if it has not already), and a new one with the same name, position, parent, mode and model takes its place, briefed with `task` (default: the old task) and the old one's findings. The subagents under it move under the new one.", "parameters": { "type": "object", "properties": { "name": { "type": "string", "minLength": 1 }, "task": { "type": "string" } }, "required": [ "name" ] } }