google-drive_get_file
Retrieve file metadata from Google Drive by file ID. Customize fields to get name, type, size, and timestamps.
Instructions
Get file metadata 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_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Comma-separated list of fields to return (e.g., 'id,name,mimeType,size,parents,modifiedTime,createdTime,webViewLink'). For single items, use direct field names. | |
| fileId | Yes | ID of the file to retrieve | |
| acknowledgeAbuse | No | Whether to acknowledge virus scan warnings | |
| supportsAllDrives | No | Whether to support files in shared drives |