pangolin_roles
Manage self-hosted Pangolin CE roles by listing, creating, updating, deleting, retrieving, and assigning user roles, with confirmation for writes and dry-run previews.
Instructions
pangolin_roles covers the roles toolset (6 operations). Auth header Authorization Bearer. Self-hosted Pangolin CE only. Writes need confirm:true and PANGOLIN_ALLOW_WRITES=true. Omit confirm for a dry-run preview. Actions: add_role: POST /role/{roleId}/add/{userId}. Legacy: set exactly one role for the user (replaces any other roles the user has in the org). create_org_role: PUT /org/{orgId}/role. Create a role. delete_role: DELETE /role/{roleId}. Delete a role. get_role: GET /role/{roleId}. Get a role. list_org_roles: GET /org/{orgId}/roles. List roles. update_role: POST /role/{roleId}. Update a role.
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": {
"action": "<action>"
},
"name": "pangolin_roles"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON body for the Pangolin operation. Secrets are redacted in output. | |
| query | No | OpenAPI query parameters. | |
| action | Yes | Pangolin operation to call. | |
| params | No | OpenAPI path parameters, such as orgId or siteId. | |
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. |