Spec 03
Tools
Pin 04 of 12
Pin04
inspect_element
Inspect element · shape inspect · group Read
Return one node of a captured state with its box, filtered computed style, the tokens its values belong to, accessibility properties, ancestors, children and evidence references. Locate it by node id, by role and accessible name, or by a simple selector (#id, .class, tag).
CLI
uidna element <scanId> <stateId>MCP
inspect_element03.04.1Effects
Writes artifactsread-only
Destructivenon-destructive
Idempotentsame input, same output
Networklocal only
Long-runningreturns immediately
03.04.2Input
| Field | Type | Required | Description |
|---|---|---|---|
scanId | string | required | Scan id returned by scan_interface, e.g. scan_20261013_3f9a1c. |
stateId | string | required | State id such as st_01. |
nodeId | string | optional | — |
role | string | optional | — |
name | string | optional | Accessible name (exact, case-insensitive) when locating by role. |
selector | string | optional | Simple selector: #id, .class, tag, or tag.class. |
nth | integer | optional | Which match to return when several match. Default 0. |
outRoot | string | optional | — |
03.04.3Result fields
scanIdstateIdmatchesnodestyletokensancestorschildrencomponentInstanceevidenceEvery field arrives inside the evidence envelope.