fix_site
Generate complete fix code for all AI visibility issues across AEO, GEO, and Agent Readiness. Returns working code you can apply directly — schema generation, robots.txt, sitemap, llms.txt, meta tags, structured data, citation signals, entity markup. Also returns two-tier score projections: quick wins (critical + high fixes only) and full implementation ceiling (all fixes). TIP: pass scan_id from a fresh audit_site result (kept 1 hour) to skip the re-crawl — instant response, same price. Content recommendations include research citations. Run scan_site first to see which issues exist. Pay per call ($5.00) via x402 — USDC on Base or Solana. On payment_required, the response includes the full x402 payload with payTo/amount/asset.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Full URL to generate fixes for (required unless scan_id is given) | |
| pages | No | Number of pages to analyze (1-10); ignored when scan_id is used | |
| format | No | Output format: generic or claude_code (optimized for Claude Code) | generic |
| scan_id | No | id from a recent audit_site response — reuses that crawl (1h TTL), instant response |