trigger_health_audit_scan
Start a Context Intelligence health audit — a library-wide AI sweep of the team's context/reference items that produces findings (stale content, contradictions, gaps) reviewable via list_ci_findings.
When to use: the user explicitly asks to check/audit their context health ("run a health check on our context", "scan the library"). Do NOT trigger one unprompted — always confirm first.
⚠️ Cost + gating: the scan consumes team Studio Credits and is gated — it requires the Command plan (active subscription) with at least 50 credits remaining, only one health audit can run at a time, and a cooldown applies after each completed run (the error message tells you when it can run again). Starting a new audit CLEARS the previous health-audit findings.
The scan runs in the background; the response returns immediately with a scan_run_id. Findings land as the scan progresses — check list_ci_findings afterwards.
Errors:
- ci_not_eligible (403) — plan/subscription/credits gate failed (JSON error body with reason + credit numbers).
- A health check is already running. Please wait for it to finish.
- Health check ran recently. You can run it again in about {time}.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": "trigger_health_audit_scan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| status | No | running | |
| message | No | ||
| scan_run_id | No |