Apply Seonix fixes
apply_fixHave Seonix apply its own fixes on the live WordPress site (write scope — tell the user exactly which issue codes and pages 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. Seonix writes the new values itself (a rewritten title or description, the target of a redirect) and they go live in the same run: nobody sees them before they are applied. get_fix_run shows before and after, rollback_fix restores. For a page that gets search traffic do not use apply_fix for title, noindex or redirect codes: write the proposed value, show it to the owner, and let them change it in WordPress or in the Seonix dashboard, where the suggestion is shown before it is applied. Codes with change_risk ranking_sensitive are refused unless confirm_ranking_sensitive=true AND issue_ids names the pages the owner approved — such a fix is never applied to every affected page at once. A redirect is created only for an address that answers 404 or 410 and never to the home page; a redirect whose target Seonix would have to guess is not applied in a run — get_fix_run lists it as skipped (redirect_needs_review) for the owner to review in the Seonix Redirect Manager.
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 | Comma-separated issue ids from list_issues (one per page) to restrict the run to those pages. Required for codes with change_risk ranking_sensitive. | |
| 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. | |
| confirm_ranking_sensitive | No | Set true only after the site owner has seen which pages are affected (and their search traffic) and said yes for those pages: required, together with issue_ids, for codes with change_risk ranking_sensitive (title rewrites, noindex, redirects). |