docs get document
docs_get_documentReads a Google Doc as plain text and returns a structure summary, truncating content to a configurable character limit and reporting whether truncation occurred.
Instructions
Read a Google Doc as plain text with a structure summary.
Text is truncated to max_chars (default 20000, ceiling 100000);
truncated reports whether the cap applied.
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": {
"document_id": "<document_id>"
},
"name": "docs_get_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | ||
| document_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||