google_drive_request
Sends authenticated Google Drive API requests to list files, fetch metadata, create or move files, delete items, and manage permissions from an MCP client.
Instructions
Make an authenticated request to the Google Drive REST API (https://www.googleapis.com/drive/v3/). Supports listing files (GET files), fetching metadata (GET files/{id}), creating/moving/deleting files, and managing permissions.
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": {
"path": "<path>",
"method": "<method>"
},
"name": "google_drive_request"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | JSON request body (omit for GET/DELETE) | |
| path | Yes | Relative path after the API base URL. For Docs: path after https://docs.googleapis.com/v1/ (e.g. "documents/{id}" or "documents/{id}:batchUpdate"). For Drive: path after https://www.googleapis.com/drive/v3/ (e.g. "files" or "files/{id}"). | |
| query | No | Query string parameters as a flat string map | |
| method | Yes | HTTP method |