run_scan
Start an AI-visibility scan of a project now — the same scan as Run scan in the app: every active tracked prompt, on each of the project's engines that has a key, for the project's passes per prompt. It SPENDS AI: checks on engines that run on CrunchJunkie's managed keys count against the workspace's Managed-AI allowance (premium engines count three times), then as overage, and pause at the workspace's overage cap; checks on the workspace's own keys are billed by that provider. Needs write actions AND 'Allow actions that spend AI' switched on, and at most 20 assistant-started scans, briefs and rankings refreshes a day per workspace. Returns a cost preview until called with confirm:true — call get_usage first and show the user the preview. The scan runs in the background on CrunchJunkie's servers; follow it with get_scan_status. It never stops a running scan: if the project is already scanning, this one is queued and starts by itself when that one finishes (one queued scan per project — a second call updates it to the new settings). Only the project's automatic first scan, or a scan that has not run a single check yet, is replaced instead (its saved answers count).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Must be true to start the scan. Omit to preview the cost. With confirm:true, also pass the preview's previewToken. | |
| clientId | No | Client id — uses the AI-Visibility project its Overview opens in the app (the newest). | |
| projectId | No | AI-Visibility project id. | |
| previewToken | No | With confirm:true: the previewToken from this tool's preview (valid 15 minutes, once, for exactly the previewed arguments). |