nucleo-doc-get
Reads a Nucleo WordPress document as compact or full JSON, optionally scoped to a subtree or depth, and returns its revision for conflict-safe patching.
Instructions
Nucleo document in compact form (default) or in full (format "full": the stored document unchanged), whole or only a subtree (nodeId), with a maximum depth (depth, compact only). Also returns the revision: pass it as baseRevision to doc-patch, which refuses with conflict if the document changed since.
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>"
},
"name": "nucleo-doc-get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| depth | No | Beyond this depth, children are replaced by childCount. Not used with format "full". | |
| format | No | compact | |
| nodeId | No | Id of the node where the subtree starts. | |
| postId | Yes |