get_permissions
Retrieve permission rules for an ERPNext DocType so AI assistants can verify user access before reading or modifying records.
Instructions
Get permissions for a DocType
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": {
"doctype": "<doctype>"
},
"name": "get_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| doctype | Yes | DocType name |