drive_get_file_metadata
Retrieve metadata of a Google Drive file using its ID or URL. Optionally specify an account for multi-account access.
Instructions
Get Google Drive file metadata visible to an account. Does not download file content.
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_metadata"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | Email or alias (uses active account if omitted) | |
| file_id_or_url | Yes | Google Drive/Docs file ID or URL |