nucleo-doc-preview
Compile a saved or unsaved document to preview HTML and CSS without saving, and use a context post to fill dynamic slots so you can see product layouts on a real product.
Instructions
Compiles a document without saving it and returns HTML and CSS. Accepts document or postId. With contextPostId the dynamic slots (woo/*, bindings) are filled as on the page of that post: use it to see a product layout on a real product.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nucleo-doc-preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| postId | No | Saved document to compile. | |
| document | No | Nucleo document to compile. | |
| contextPostId | No | Post whose page fills the dynamic slots, for example a product id from content-list with type "product". Without it the slots stay empty. |