nucleo-doc-patch
Applies ordered patch operations to an existing WordPress document, enforcing base revision matching to prevent conflicts; use dryRun to preview changes without saving.
Instructions
Applies patch operations to an existing document. baseRevision must match the current revision, otherwise it returns conflict. With dryRun true it does not save.
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": {
"postId": "<postId>",
"baseRevision": "<baseRevision>",
"ops": "<ops>"
},
"name": "nucleo-doc-patch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ops | Yes | Operations applied in order. | |
| dryRun | No | ||
| postId | Yes | ||
| publish | No | ||
| acknowledge | No | Acknowledged quality issues, with a reason. | |
| baseRevision | Yes | Revision read before the change. |