UI DNA

Specifications · rev 0.3.1

Spec 03

Tools

Twelve tools

The same twelve over MCP and the CLI. Every one answers in the same envelope.

03.0The evidence envelope

json · evidence envelope

{
  "result": {},
  "evidence_id": "ev_3f9a1c7b2d4e",
  "evidence": { "kind": "scan", "inputs": {}, "artifacts": [], "capturedAt": "2026-10-13T17:29:00.000Z" },
  "limitations": [],
  "unknowns": []
}

Results are complete by default; any truncation says why and how to get the rest. Observed, measured, inferred and unknown stay distinct. Large artifacts are referenced by path, never inlined.

03.1The twelve tools

PinToolGroupShapeCLI
01scan_interfaceLookcaptureuidna scan <url>
02explore_interactionsLookcaptureuidna explore <scanId>
03inspect_dnaReadinspectuidna inspect <scanId>
04inspect_elementReadinspectuidna element <scanId> <stateId>
05search_componentsReadsearchuidna components <scanId>
06extract_tokensReadworkflowuidna tokens <scanId>
07annotate_dnaBuildmutateuidna annotate <scanId> <patchesFile>
08generate_projectBuildworkflowuidna generate <scanId> <outDir>
09verify_reconstructionProvecompareuidna verify <scanId> <outDir>
10report_reconstructionProveworkflowuidna report <scanId>
11export_evidenceProveworkflowuidna export <scanId>
12reconstruct_interfaceLoopworkflowuidna reconstruct <url> <outDir>

03.2CLI only

CommandWhat it does
uidna setupRegister the MCP server in Claude Code, Codex and Cursor (prints the plan, asks, backs up)
uidna doctorReport browser availability, CDP reachability and registration state
uidna serveStart the MCP server on stdio (what the registered command runs)