Docs Get
docs_getRetrieve a Google Doc by ID. Returns title, formatted body content, and document structure.
Example tool call
This call uses example arguments supplied in the tool’s input schema.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"document_id": "1BxiMVs0XRA5nFMKUVfGo6Q6XcYBCy_N1LCcFrZkZecc"
},
"name": "docs_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | Document ID (from the URL) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Document body structure | |
| error | No | Error code if connection failed | |
| title | No | Document title | |
| message | No | Error message if connection failed | |
| documentId | No | The document ID |