run_scan
Start an AI-visibility scan of a project now: 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 managed keys count against the workspace's Managed-AI allowance (premium engines three times), then as overage, pausing at the overage cap; checks on the workspace's own keys are billed by that provider. Requires write actions and "Allow actions that spend AI"; counts toward 20 assistant-started scans, briefs and rankings refreshes per workspace per day. Without confirm:true it returns a cost preview and starts nothing. The scan runs in the background; get_scan_status follows it. When the project is already scanning, the new scan is queued and starts when that one finishes (one queued scan per project; a second call updates it); a running scan is never stopped.
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": "run_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | true starts 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). |