Assign user to a specific role
action1_create_role_userAssigns a user to a specific role using role and user IDs, with dry-run preview by default and explicit YES confirmation before execution.
Instructions
Assign user to a specific role. Assigns user to a role specified by its ID. Perm: assign_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": {
"role_id": "<role_id>",
"user_id": "<user_id>"
},
"name": "action1_create_role_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Required to execute. Exact string "YES". | |
| dry_run | No | Default true (preview). Set false to execute. | |
| role_id | Yes | Provide a specific role ID. | |
| user_id | Yes | Provide a specific user ID. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| tool | No | ||
| type | No | ||
| status | No | ||
| dry_run | No | ||
| would_send | No | ||
| user_message | No | ||
| developer_message | No |