insert_at_placeholder
Replaces every occurrence of a placeholder string (e.g., {{email_draft}}) in a Google Document with specified text.
Instructions
Replaces every occurrence of a placeholder string (e.g. {{email_draft}}) in an existing Google Document with the provided text.
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>",
"placeholder": "<placeholder>",
"text": "<text>"
},
"name": "insert_at_placeholder"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | The replacement text to insert at each placeholder. | |
| document_id | Yes | The ID of the Google Document. | |
| placeholder | Yes | The exact placeholder string to search for, e.g. {{email_draft}}. |