Get Drive file
google_drive_getFetch metadata for a specific Google Drive file by ID, including name, type, and size. Supports multi-account OAuth access.
Instructions
Get metadata for a single file by ID.
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": "google_drive_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Drive file ID. | |
| account | No | Account nickname to use. |