drive_list_labels
List all labels applied to a specific Google Drive file using its ID. Supports pagination to manage large label sets.
Instructions
List labels applied to a Google Drive file
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": {
"fileId": "<fileId>"
},
"name": "drive_list_labels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The ID of the file | |
| pageToken | No | Page token for continuing a previous list request | |
| maxResults | No | Maximum labels to return (default: 20) |