Insert Kadence Heading
Inserts a Kadence Advanced Heading with the given text and level (h1-h6).
| Property | Value |
|---|---|
| Ability slug | mosmcp/kadence-insert-heading |
| Wire tool name | mosmcp__kadence-insert-heading |
| Category | Kadence (mosmcp-kadence) |
| Plan | Free |
Required access
| Requirement | Value |
|---|---|
| Capability | edit_post (checked against the specific post) |
| Minimum default role | Contributor |
| Requires | Kadence Blocks (theme abilities also need the Kadence theme) |
| Annotations | readOnly: false · destructive: false · idempotent: false · openWorld: true |
Input schema
| Field | Type | Required | Default | Description |
|---|---|---|---|---|
| id | integer (min 1) | Yes | — | The ID of the page or post to insert into. |
| parent_id | string | — | Optional uniqueID of a Kadence Row or Column to insert inside. Omit to append at the page root. | |
| after_id | string | — | Optional uniqueID of a sibling block to insert immediately after (ignored if parent_id is given). | |
| expected_modified | string | — | Optional optimistic lock: the page's "modified" value as read. If the page changed since, the insert is refused with stale_revision. | |
| text | string (min length 1) | Yes | — | The heading text. |
| level | integer (1–6) | 2 |
Heading level, 1-6. |
Output schema
| Field | Type | Required |
|---|---|---|
| id | integer | Yes |
| unique_id | string | Yes |
| block | string | Yes |
| modified | string | |
| verified | boolean |
Example
Sample prompt
Add a heading 'Our Services' in the first column on page 42.
Example request (json)
{
"jsonrpc": "2.0",
"id": 342,
"method": "tools/call",
"params": {
"name": "mosmcp__kadence-insert-heading",
"arguments": {
"input": {
"id": 42,
"parent_id": "42_e5f6a7-8b",
"text": "Our Services",
"level": 2
}
}
}
}Example response (json)
{
"jsonrpc": "2.0",
"id": 342,
"result": {
"isError": false,
"structuredContent": {
"id": 42,
"unique_id": "42_0a1b2c-3d",
"block": "kadence/advancedheading",
"modified": "2026-09-29 10:39:01",
"verified": true
}
}
}
Edge cases / errors
- Empty text or level outside 1-6 -> rejected by schema validation.
- Inserting into an empty Row/Column -> refused with kadence_unsupported_container.
- Text follows the block editor's markup rule (since 1.5.2): saved as sent for a user with unfiltered_html; for anyone else, markup they may not save is refused with html_not_allowed. Every other block on the page is saved byte-for-byte, including the JSON unicode escapes inside block settings.
| << Previous | Next >> |
|---|---|
| Insert Kadence Column | Insert Kadence Icon |
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.