Docs Insert Text
docs_insert_textInsert text at a specific position in a Google Doc (e.g., position 0 for start, position 50 for middle).
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": {
"text": "Executive Summary",
"index": 1,
"document_id": "1BxiMVs0XRA5nFMKUVfGo6Q6XcYBCy_N1LCcFrZkZecc"
},
"name": "docs_insert_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Text to insert | |
| index | No | Character index to insert at (1 = start of body) | |
| document_id | Yes | Document ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Error code if connection failed | |
| message | No | Error message if connection failed | |
| replies | No | Results of batch update requests | |
| documentId | No | Document ID |