file_permissions
See who can open a file or folder: owner, direct and inherited grants, and your effective access level. Requires owner permission on the item.
Instructions
Who may open a file or folder, as its Share dialog shows the owner: {path, storage_rbac, direct: [grants on it], inherited: [grants from a folder above], effective (your own level)}. Each grant has an id, kind (user or group), the person or group and the level. Needs owner level on the item.
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": {
"path": "<path>"
},
"name": "file_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | adapter://path |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes | the operation's JSON answer - the body its REST twin under /api/ai answers (an object) | |
| status | Yes |