docs_insert_paragraph
Insert a fully-styled paragraph at a chosen position in a Google Doc. Specify text, style (like headings), bold, italic, and alignment in one request with no extra style call.
Instructions
Insert one fully-styled paragraph at a specific index, no separate style call needed. Prefer docs_append_paragraph if you're just adding to the end (no index required there). style: NORMAL_TEXT (body), TITLE, SUBTITLE, HEADING_1..HEADING_6.
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": "<text>",
"index": "<index>"
},
"name": "docs_insert_paragraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bold | No | ||
| text | Yes | ||
| index | Yes | ||
| style | No | NORMAL_TEXT | |
| italic | No | ||
| alignment | No | ||
| document_id | Yes | ||
| bullet_preset | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |