Run the design deviance scan
run_design_devianceRefresh design tokens and scan the repo for off-token colours, fonts, spacing, radius, low contrast, or raw interactive elements. Records the scan; changes nothing.
Instructions
Refresh the design tokens and start a new deviance scan of the repo (off-token colours, fonts, spacing, radius, contrast below AA, raw interactive elements). The scan reads up to 1,500 files in the background: the result is { refresh, run } with run.status "running" (poll get_design_deviance until running clears), or run null when the repo has no tokens to compare against (refresh says why). At most one scan per project every 5 minutes (429 RATE_LIMITED otherwise). Optional projectId. Write: it records a scan; nothing in the repo changes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectId | No | Project UUID — defaults to the server-configured project when omitted (`project_id` is accepted too.) |