Document Delete Paragraph
document_delete_paragraphUse this to delete one or more paragraphs matching requested text in a specified local word-processing document. This removes document content; confirm the exact match and backup needs.
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>",
"path": "<path>"
},
"name": "document_delete_paragraph"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| all | No | Apply to all matching paragraphs; default true. | |
| path | Yes | Existing .docx path, or the new document destination when create=true. | |
| 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. |