Apply Seonix fixes
apply_fixHave Seonix apply fixes on the live site through the WordPress plugin (write scope — tell the user exactly which issue codes and get a yes first). Works for get_fix_plan items with fix_tier auto or ai_assist (wp_plugin_fixable); the site must have a connected WordPress channel. Starts a run (preview → Seonix suggestions → apply) and returns its id; poll get_fix_run until status is completed, partial or failed. Undo with rollback_fix.
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": {
"issue_codes": "<issue_codes>"
},
"name": "apply_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issue_ids | No | Optional comma-separated scan issue ids (from list_issues evidence) to restrict the run to specific pages. | |
| project_id | No | Project id or slug. | |
| issue_codes | Yes | Comma-separated issue codes from get_fix_plan whose fix_tier is auto or ai_assist (wp_plugin_fixable). Seonix fixes them on the live WordPress site through its plugin. |