C
CMB2 Content

Create metaboxes to be used on post edit screens

Create metaboxes to be used on post edit screens.

What it does

Create metaboxes to be used on post edit screens. It is one of the abilities the CMB2 plugin exposes, so an AI agent connected to your site can run it for you.

Input schema

FieldTypeRequiredDescription
input string Required What you want this ability to do, in plain language.

Output schema

FieldTypeDescription
result string The result produced by the ability.

Permissions

The agent's WordPress user needs these capabilities. Grant only what's listed here, never a full admin account.

πŸ”’ edit_posts

How an agent calls it

Agents call this ability by name and pass the inputs it needs. A call looks roughly like this:

cmb2.create-metaboxes-to-be-used-on-post-edit
{
  "ability": "cmb2.create-metaboxes-to-be-used-on-post-edit",
  "args": { "input": ... }
}

The agent runs the ability, then hands the result back for you to review before anything is published.

Keep exploring

More CMB2 abilities

All CMB2 abilities β†’
C
Create forms to be used on an options pages
CMB2
Create forms to be used on an options pages .
C
Create forms to handle user meta and display them on user
CMB2
Create forms to handle user meta and display them on user profile add/edit pages.
C
Create forms to handle term meta and display wherever your
CMB2
Create forms to handle term meta and display wherever your taxonomies are used.