add_cta
Add a call-to-action section to WordPress pages using Elementor, specifying heading, text, and button details to engage visitors.
Instructions
Add a call-to-action section
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"page_id": "<page_id>",
"heading": "<heading>",
"button_text": "<button_text>"
},
"name": "add_cta"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | Yes | Page ID | |
| heading | Yes | CTA heading | |
| subheading | No | Supporting text | |
| button_text | Yes | Button text | |
| button_url | No | Button URL |