Spec 03
Tools
Pin 06 of 12
Pin06
extract_tokens
Extract tokens · shape workflow · group Read
Return the token clusters of a scan: colors, typography, font families, font sizes, spacing, radii, shadows and breakpoints. Every token lists its member values with sample counts; values are only merged when the cluster evidence supports it.
CLI
uidna tokens <scanId>MCP
extract_tokens03.06.1Effects
Writes artifactsread-only
Destructivenon-destructive
Idempotentsame input, same output
Networklocal only
Long-runningreturns immediately
03.06.2Input
| Field | Type | Required | Description |
|---|---|---|---|
scanId | string | required | Scan id returned by scan_interface, e.g. scan_20261013_3f9a1c. |
kinds | array of "color" | "font-family" | "font-size" | "font-weight" | "line-height" | "letter-spacing" | "spacing" | "radius" | "shadow" | "breakpoint" | optional | Restrict to some token kinds. |
outRoot | string | optional | — |
03.06.3Result fields
scanIdtokenscountsEvery field arrives inside the evidence envelope.