Spec 03
Tools
Twelve tools
The same twelve over MCP and the CLI. Every one answers in the same envelope.
03.0The 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
| Pin | Tool | Group | Shape | CLI |
|---|---|---|---|---|
01 | scan_interface | Look | capture | uidna scan <url> |
02 | explore_interactions | Look | capture | uidna explore <scanId> |
03 | inspect_dna | Read | inspect | uidna inspect <scanId> |
04 | inspect_element | Read | inspect | uidna element <scanId> <stateId> |
05 | search_components | Read | search | uidna components <scanId> |
06 | extract_tokens | Read | workflow | uidna tokens <scanId> |
07 | annotate_dna | Build | mutate | uidna annotate <scanId> <patchesFile> |
08 | generate_project | Build | workflow | uidna generate <scanId> <outDir> |
09 | verify_reconstruction | Prove | compare | uidna verify <scanId> <outDir> |
10 | report_reconstruction | Prove | workflow | uidna report <scanId> |
11 | export_evidence | Prove | workflow | uidna export <scanId> |
12 | reconstruct_interface | Loop | workflow | uidna reconstruct <url> <outDir> |
03.2CLI only
| Command | What it does |
|---|---|
uidna setup | Register the MCP server in Claude Code, Codex and Cursor (prints the plan, asks, backs up) |
uidna doctor | Report browser availability, CDP reachability and registration state |
uidna serve | Start the MCP server on stdio (what the registered command runs) |