Preview Rendered Divi 5 Page


Renders a Divi 5 page's block markup to the HTML a visitor would receive, so a content edit can be checked rather than assumed. Render the whole page, or pass a block_index to render just that block (which loses its surrounding section/row/column context). Ask for the text format to read the copy without markup around it.

Property Value
Ability slug mosmcp/divi5-render-preview
Wire tool name mosmcp__divi5-render-preview
Category Divi 5 (mosmcp-divi5)
Plan Pro

 

Required access

Requirement Value
Capability edit_post (checked against the specific post)
Minimum default role Contributor
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: true

 

Input schema

Field Type Required Default Description
post_id integer (min 1) Yes — The ID of the post or page to render.
block_index integer (min 0) — Optional. Render only this block instead of the whole page.
format string (one of html, text) html Return the rendered HTML, or plain text with the markup stripped for reading the copy.
max_bytes integer (1000–500000) 120000 Maximum output size. Larger output is cut off and flagged as truncated.

 

Output schema

Field Type Required Description
post_id integer Yes
title string
scope string Yes Either "post" or "block".
format string Yes
output string Yes The rendered markup or text.
bytes integer Yes
full_bytes integer Size before any truncation.
truncated boolean
view_url string
warnings object[] Non-fatal issues encountered while running.
warnings[].code string
warnings[].message string
warnings[].context string

 


<< Previous Next >>
Move Divi 5 Block Read Divi 5 Page (Experimental)

For more information about the Secure MCP Server for WordPress plugin, explore the following resources:

Product Overview | Pricing | Try for Free | Documentation

If you have any questions regarding plugin configuration, pricing plans or licensing, please contact us or mail us at aisupport@xecurify.com.