List a Drive folder
drive_listList folder contents in Google Drive, showing sub-folders first. Specify a folder_id to target a folder, or omit it to list the root of My Drive.
Instructions
List what is inside a folder, sub-folders first. Omit "folder_id" for the root of My Drive. Use drive_search when you know what you are looking for but not where it lives.
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": {
"account": "<account>"
},
"name": "drive_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | Yes | Configured account: the email address, or the alias given at setup. | |
| folder_id | No | Folder id. Defaults to "root", the top of My Drive. | |
| max_results | No | Maximum entries to return. Default 20. |