Insert text in document
google_docs_insert_textInsert text into a Google Doc at a specified character index or append it to the end using a document ID.
Instructions
Insert text into a document at an index or at the end.
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": {
"documentId": "<documentId>",
"text": "<text>"
},
"name": "google_docs_insert_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to insert. | |
| index | No | 1-based character index to insert at (default end of document). | |
| account | No | Account nickname to use. | |
| documentId | Yes | Document ID. |