grocy_user_permissions
Manage Grocy user permissions by retrieving a user's access list, adding a permission, or replacing the full list; write actions require confirmation.
Instructions
User permissions. action get is GET /api/users/{userId}/permissions. add is POST one permissions_id. replace is PUT the full list. Writes need confirm.
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>",
"user_id": "<user_id>"
},
"name": "grocy_user_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | get lists permissions. add posts one permissions_id. replace overwrites the list. | |
| 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. | |
| user_id | Yes | User id. | |
| permissions | No | Required for replace. | |
| permissions_id | No | Required for add. |