fill_paragraph_by_index
Replace the text of a paragraph at a given index, preserving its original style and formatting. Use with get_all_paragraphs to locate the paragraph.
Instructions
Replace all text in a paragraph by its zero-based index, preserving the paragraph style and first run's formatting. Use get_all_paragraphs first to find the index.
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": {
"index": "<index>",
"text": "<text>"
},
"name": "fill_paragraph_by_index"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| index | Yes | ||
| document_handle | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |