insert_text
Add text at a specific position in Google Docs documents to edit content precisely where needed.
Instructions
Insert text at a specific index within a document or tab.
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>",
"text_to_insert": "<text_to_insert>",
"index": "<index>"
},
"name": "insert_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| document_id | Yes | The ID of the Google Document | |
| text_to_insert | Yes | The text to insert | |
| index | Yes | The index (1-based) where the text should be inserted | |
| tab_id | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |