Google Drive
GoogleDrive_ListFilePermissions
List permissions on a Google Drive file or folder. Returns the individual people (and groups) with access and the current General access (link sharing) state. `general_access` is computed across the ENTIRE file regardless of filtering -- so "is this doc public?" is always answered authoritatively. When `roles` is provided, `people` and `total_people` reflect only collaborators whose role matches the filter. Truncated collaborators beyond `limit` are not returned; `has_more` indicates whether truncation occurred.
Remote googledrive
Remote (network-hosted)
Other tools also called GoogleDrive_ListFilePermissions?
See providers with this name
Input Schema
{
"type": "object",
"properties": {
"limit": {
"type": "integer",
"description": "Maximum number of user/group collaborators to include in the `people` list (1-500). Regardless of this cap, `general_access` reflects the entire file. Defaults to 100."
},
"roles": {
"type": "array",
"items": {
"enum": [
"reader",
"commenter",
"writer",
"owner"
],
"type": "string"
},
"description": "Filter the `people` list to those holding one of these roles. For 'who can write?' pass [owner, writer]; for 'who can comment?' pass [owner, writer, commenter]. When provided, `total_people` reflects the count MATCHING the filter (not the whole ACL). Defaults to None (no filter)."
},
"file_path_or_id": {
"type": "string",
"description": "The file path like folder/subfolder/filename or the file ID to inspect. If providing a path, it will be resolved within My Drive by default."
},
"shared_drive_id": {
"type": "string",
"description": "If the file is in a shared drive and using a path, provide the shared drive ID. Not needed when using file IDs. Defaults to None (uses My Drive)."
}
}
}