Get a fix plan: exact edits that get the site cited by AI engines
get_fix_planTurn the site's audits into a ranked list of exact edits that get the brand cited by AI engines instead of competitors — sentences, FAQs, title and meta, JSON-LD, missing pages. Checks the live site first.
Billing: 50¢ per plan. Free (charged_cents=0): repeats within 24h, errors, and plans with nothing left to fix or only drafts/off-site work. dry_run: true quotes it free.
When to call: before editing a site for AI search, or when asked what to fix or why competitors get cited. page_url (recommended): one page, from the audit about it, else its Search Console queries; without it, site-wide.
already_done: true fixes are live (see evidence): skip. audit_stale (over 21 days) or site_changed_since_audit: say so, re-check first. draft: true fixes state facts the site doesn't show (needs_input): the user confirms or supplies each; never publish a draft as-is. Apply via how_to_apply, each fix's apply and code for platform (paired WordPress: the wp_* tools in tools); then submit_urls, inspect_url, and schedule_recheck with verify_prompts and audit_id.
Errors (unbilled; see message): site_not_found, audit_not_found, audit_brand_mismatch, no_audit, nothing_to_fix, not_diagnosed, no_relevant_audit, nothing_left_to_fix, truncated, empty_plan, fetch_failed (retry), not_configured, page_fetch_failed, page_not_on_domain, out_of_credits.
Returns { summary, platform, how_to_apply, fixes: [{priority, kind, page, title, why, already_done, evidence, draft?, needs_input?, find?, replace?, content?, faq?, meta?, code?, apply, tools, closes_prompts}], verify_prompts, site_check, audit_id, audit_stale, report_url, charged_cents, cache_hit }.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_fix_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | No | The site's domain, e.g. "northwind.example". Needs a completed audit in this workspace, or Search Console connected for a page_url plan. Or pass site_id. | |
| dry_run | No | true: return the price quote (estimated_cents, max_cents, breakdown) and what would run. Nothing runs or bills. | |
| site_id | No | A workspace site (list_sites) instead of domain. | |
| audit_id | No | Plan from this audit instead of the default (site-wide: the most comprehensive recent audit; with page_url: the one about that page). | |
| page_url | No | A page on the site to plan exact edits for (full URL or path). Omit for a site-wide plan. |