plan_search_audit
Turn a target client domain into a scoped Five-Layer Search Audit action plan in ONE call: infers the business profile (P1 local / P2 SMB / P3 mid-market / P4 enterprise) from a real crawl on file when you pass site_id, picks the module set for the chosen tier (core/deep/autonomous), and returns each module's one-line why + the exact Xyle tools to call for real data (deduped into suggested_tool_call_order) — NOT the full 295-check list, to keep this call cheap. Call get_audit_framework separately for one module's full checklist once you're actually working it, or for the 17-part client deliverable structure when it's time to write the report. Flags business-intelligence inputs (deal value, margin, named competitors, capacity) that need a real client conversation — never guess those. IMPORTANT: everything this returns — module IDs, tier names, profile codes — is YOUR internal working vocabulary for deciding what to check. Never surface it in the client-facing report (no 'Module G2', no 'Core tier', no 'P2 SMB profile', no naming 'the framework'); translate every finding into plain language instead. This is the recommended starting point for a Client Pro SEO Audit or any 'write me a pro-grade audit' request — prefer the search_audit PROMPT over calling this tool cold, it carries the full plan → farm → write recipe. See also start_prospect_audit for a domain that hasn't connected anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tier | No | core (default) | deep | autonomous | |
| domain | Yes | The target client's domain, e.g. acme.com | |
| profile | No | Override the inferred profile: P1 (local) | P2 (SMB) | P3 (mid-market) | P4 (enterprise) | |
| site_id | No | If this domain is already a Xyle site, pass its id (list_sites) to infer the profile from a real crawl instead of guessing |