Hand a task to the WordPress operator (AI)
create_wordpress_taskHand a task for a WordPress site to its operator — plugins, theme, posts, pages, menus, settings, updates, WooCommerce: 'install a contact form plugin', 'create an imprint page'. The operator reads the site and returns a plan. Nothing changes yet: tell the user the plan waits for their confirmation in the WordPress cockpit (review_path). Pass the task complete and in the user's language. Uses the AI quota. Site ids come from list_wordpress_sites.
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": {
"wordpress_site_id": "<wordpress_site_id>",
"instruction": "<instruction>"
},
"name": "create_wordpress_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| environment | No | live (default) or sandbox — only if the user names the test copy. | |
| instruction | Yes | The task, concrete and complete (3–600 characters). | |
| wordpress_site_id | Yes | The website's id — from list_sites. |