Get file info
get_file_infoRetrieves metadata for a Google Drive file attached in Classroom—including name, type, size, owner, and link—from a file ID or Drive/Docs URL.
Instructions
Metadata for a Drive file attached in Classroom (name, type, size, owner, link).
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": "<file>"
},
"name": "get_file_info"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Drive file id or any drive.google.com / docs.google.com link |