drive_files_get
Fetch file metadata by ID, with automatic support for shared drive files, to inspect file details and guide Drive operations.
Instructions
Get a file's metadata by ID. Shared drive files are supported automatically.
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": "drive_files_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fields | No | Fields to include | |
| fileId | Yes | The file ID |