set_agent_role
Assign an agent a worker, coordinator, or admin role to control task scope and account access. Requires an admin key; sandbox agents graduate via the claim flow.
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 |