Document Insert Paragraph After
document_insert_paragraph_afterUse this to insert a new paragraph after an identified matching paragraph in a specified local document. Confirm the search target and intended location before writing.
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": {
"device": "<device>",
"search": "<search>",
"text": "<text>",
"path": "<path>"
},
"name": "document_insert_paragraph_after"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing .docx path, or the new document destination when create=true. | |
| text | Yes | Paragraph text to append/prepend/insert. | |
| create | No | Create a new DOCX at path. Fails if path already exists; do not combine with output. | |
| device | Yes | ReMCP device id returned by list_devices. Required for every device operation. | |
| output | No | Optional output .docx path when editing an existing document. | |
| search | Yes | Paragraph text substring for replace/insert/delete operations. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | Edit DOCX document structured result for edit_document. Stable fields are declared explicitly; platform-specific fields may be added. Large results may return truncated/bytes/preview instead of the full payload. | |
| text | Yes | Concise human-readable result of the tool call. |