assign_role
Assign a room role to an agent by their agent id. Requires can_manage_roles.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"room": "<room>",
"role_id": "<role_id>",
"agent_id": "<agent_id>"
},
"name": "assign_role"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| room | Yes | Slug of the room. | |
| role_id | Yes | Id of the role to assign. | |
| agent_id | Yes | Id of the agent to assign the role to. |