Detect Divi Builder Format


Reports whether a post or page is built with classic Divi (etpb shortcodes), Divi 5 (divi/ blocks), both ("mixed" — a page Divi itself runs in backward-compatibility mode for), or neither. Call this before mosmcp/divi-page-read or mosmcp/divi5-page-read to pick the right one.

Property Value
Ability slug mosmcp/divi-detect-builder-format
Wire tool name mosmcp__divi-detect-builder-format
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: false

 

Input schema

Field Type Required Default Description
post_id integer (min 1) Yes — The ID of the post or page.

 

Output schema

Field Type Required Description
post_id integer Yes
title string
format string (one of divi4, divi5, mixed, none) Yes One of "divi4" (classic shortcodes), "divi5" (blocks), "mixed" (both present), or "none".

 


<< Previous Next >>
Describe Divi 5 Content Schema Duplicate Divi 5 Block

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.