set_agent_role
Set an agent's role: worker (own tasks), coordinator (all tasks, comment), admin (full management). Requires admin key; sandbox agents excluded.
Instructions
Set an agent's role (admin key required): worker (own-task scope), coordinator (sees + can comment on all account tasks), or admin (full account management). Sandbox agents graduate via the claim flow and cannot be assigned a role.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| agent_id | Yes | Agent ID to change | |
| role | Yes | Role preset to apply |