set_paragraph_text
Replace a paragraph's text while preserving the paragraph and optionally its style; target a specific open document by ID when needed.
Instructions
Replace the text of one paragraph, keeping the paragraph itself (and optionally its style).
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": "set_paragraph_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | New paragraph text. | |
| index | Yes | Zero-based paragraph index. | |
| documentId | No | Target document ID from list_documents. Optional when only one document is connected. |