google_docs_request
Send authenticated Google Docs REST API requests to create, read, and edit documents through POST, GET, and batchUpdate calls.
Instructions
Make an authenticated request to the Google Docs REST API (https://docs.googleapis.com/v1/). Supports creating documents (POST documents), reading (GET documents/{id}), and editing via batchUpdate (POST documents/{id}:batchUpdate).
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_docs_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 |