Recommend roles for tasks
recommend_rolesRecommend the built-in roles that together cover a set of admin tasks, using the RBAC Map Role Builder algorithm. Get task ids from list_tasks first. "fewest-roles" (default) picks the smallest set; "least-privilege" prefers several narrow roles over one broad one.
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": {
"task_ids": "<task_ids>"
},
"name": "recommend_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| goal | No | fewest-roles (default) or least-privilege. | |
| task_ids | Yes | Task ids from list_tasks. |