get_file_permissions
List one Drive file's sharing permissions (who it's shared with and their role). Same scope as search. Pass account when more than one Drive-capable account is connected.
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": {
"file_id": "<file_id>"
},
"name": "get_file_permissions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Account label the file belongs to (see list_accounts). Required when several Drive-capable accounts are connected. | |
| file_id | Yes | Drive file id (from search_drive_files or get_file_metadata). |