inspect
[LLM-mediated] This tool returns a routing envelope, not computed results. For user-facing inspection, invoke the /upg-inspect skill instead of calling this tool directly. Inspect approach: path of arrival to "what's broken?". Returns the Inspect record + invocation params in the family-resemblance envelope. The LLM consumes `signature_hint` and emits `{ violations: [{ severity, kind, entity_id, description, fix_hint }] }` against `UPG_ANTI_PATTERNS` + the live graph. Optional `region` or `entities[]` scope the audit.
Arguments
regionstringoptionalOptional UPGRegionId. Narrows inspection scope to a single region.
entitiesarrayoptionalOptional entity_id[]. Narrows inspection scope to a specific candidate set. Composable with region.
Returns
JSON envelope: { approach_id, scope, generated_at, approach, params, violations, summary, execution_mode: "execution_v0_4_0" }