set_agent_role
Assign role permissions to an agent—worker, coordinator, or admin—to control task access and account management capabilities. Admin key required; 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 |
|---|---|---|---|
| role | Yes | Role preset to apply | |
| agent_id | Yes | Agent ID to change |