{ "name": "team_add", "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": [] }, "description": "Add a subagent and start it at once, in the background, on its part of the work. Only you, the main agent, add subagents. You lead: subagents do the work while you plan, coordinate and review — once you have one, tools that change things are refused to you.\n\n- `name` is how everyone addresses it: lowercase letters, digits and hyphens, after what it owns (`parser`, `api-tests`). `role` is its position, one line: what it owns. `task` is its brief and must stand on its own — it sees nothing of this conversation: what to do, when it is done, and what to report.\n- `goal` is the team's goal in a line; your first subagent needs it, and every subagent is told it.\n- `lead: true` makes it a sub-manager: it directs the subagents you place under it (`parent`), reviews their reports and reports to you; it does not add or stop subagents itself.\n- `mode` is its permission mode: its parent's by default, never looser. With a stricter mode you may give `request` options — kinds of action (read, write, execute) it may ask you for with team_request; you decide with team_decide.\n- The person sets how many agents the team may have, you included; past that this is refused. When the model is already serving as many requests as it can at once, the subagent waits for a slot and starts when one frees.\n- It reports with team_finish (or its final reply). Meanwhile team_send messages it, team_read shows the tree and the room, team_assign gives it new work, team_replace replaces it, team_stop stops it.\n- Agents: {{agents}}", "parameters": { "type": "object", "properties": { "name": { "type": "string", "pattern": "^[a-z][a-z0-9-]{0,31}$", "description": "Its name in the team, after what it owns" }, "role": { "type": "string", "minLength": 1, "description": "Its position, one line: what it owns" }, "task": { "type": "string", "minLength": 1, "description": "Its brief, self-contained" }, "goal": { "type": "string", "description": "The team's goal in one line: needed with your first member; a new one is told to members added from now on" }, "lead": { "type": "boolean", "description": "A sub-manager: directs the subagents placed under it (default: false)" }, "agent": { "type": "string", "description": "Which agent it is (default: general)" }, "model": { "type": "string", "description": "Run it on another model — only one the person named in this conversation (its id or name, as in the list in your instructions). Default: the session's model." }, "parent": { "type": "string", "description": "The sub-manager to place it under (default: you, lead)" }, "mode": { "type": "string", "enum": [ "auto", "edit", "manual", "plan" ], "description": "Its permission mode: its parent's or stricter (default: its parent's)" }, "request": { "type": "array", "items": { "type": "string", "enum": [ "read", "write", "execute" ] }, "description": "With a stricter mode only: kinds of action it may ask you for (team_request)" } }, "required": [ "name", "role", "task" ] }, "variables": { "agents": "the agents a member may be: `name — description`, separated by \"; \" (as task's)" }, "offered": "main" }