List Bricks Global Classes


Lists the Bricks global classes on this site in their stored order, with each one's ID, name, category and which style settings it defines. Read-only. Use a class ID with mosmcp/bricks-update-element-styles to add or remove it on an element.

Also known as: Bricks classes, global CSS classes, utility classes, class manager.

Property Value
Ability slug mosmcp/bricks-list-global-classes
Wire tool name mosmcp__bricks-list-global-classes
Category Bricks Builder (mosmcp-bricks)
Plan Pro

 

Required access

Requirement Value
Capability edit_posts
Minimum default role Contributor
Annotations readOnly: true · destructive: false · idempotent: true · openWorld: false

 

Input schema

Field Type Required Default Description
search string — Optional text matched against the class name.
category string — Optional. Only classes in this category ID.
per_page integer (1–200) 50 Maximum number of classes to return.
page integer (min 1) 1 Page number, starting at 1.

 

Output schema

Field Type Required Description
classes object[] Yes
classes[].id string
classes[].name string
classes[].category string
classes[].style_keys string[]
classes[].selector_count integer
classes[].modified string Site time, Y-m-d H:i:s, or empty when Bricks did not record it.
notes string[]
total integer Yes How many match in all, across every page.
showing integer How many are in this response.
page integer
total_pages integer
has_more boolean Yes Whether another page follows. Ask for it rather than assuming this is everything.

 


<< Previous Next >>
Insert Bricks Element List Bricks Templates

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.