containers-permissions
Change access only for existing members of the same Hjarni team; this does not invite anyone or publish a folder. Set or clear a team member's role on a team container. Roles cascade to descendants unless a child has its own role. Caller must have admin role on the target container. Required: container_id (integer, must be a team container), user_id (integer, must be a member of the same team), role ('viewer' | 'editor' | 'admin' | 'inherit'). Use 'inherit' to delete an explicit role and fall back to the role inherited from an ancestor (or from team membership). Team owners are always admin and cannot be downgraded. Returns the user's resulting effective_role on that container.
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": {
"container_id": "<container_id>",
"user_id": "<user_id>",
"role": "<role>"
},
"name": "containers-permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | Yes | New role, or 'inherit' to clear an explicit role (required) | |
| user_id | Yes | Team member's user ID (required) | |
| container_id | Yes | Team container ID (required) |