drive_get_file
Get detailed metadata for a Google Drive file, folder, or shortcut from its ID or URL, with optional Google account selection.
Instructions
Get detailed metadata for a Google Drive file, folder, or shortcut.
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_or_url": "<file_id_or_url>"
},
"name": "drive_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Google account email. May be omitted when exactly one account is configured; required when multiple accounts are configured. | ||
| file_id_or_url | Yes | A Google Drive file/folder ID or a Google Drive/Workspace URL |