drive_get_file
Retrieve metadata for a specific Google Drive file, including name, size, type, owners, and sharing status. Specify the account and file ID to get details.
Instructions
Get metadata for a Google Drive file (name, size, type, owners, sharing status, etc.)
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": {
"accountId": "<accountId>",
"fileId": "<fileId>"
},
"name": "drive_get_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | The file ID | |
| accountId | Yes | The Google account ID, alias, or email |