validate_reasoning_chain
Detect logical errors in reasoning chains by mapping claims, evidence, and conclusions into a directed graph, identifying circular reasoning, unsupported conclusions, and orphaned claims.
Instructions
Map your reasoning to a directed graph and check it for logical errors: circular reasoning, unsupported conclusions, and orphaned claims.
REQUIRED INPUT FORMAT — copy this structure exactly: {"nodes":[{"id":"c1","label":"The API latency is acceptable","type":"claim"},{"id":"e1","label":"p99 benchmark shows 180ms","type":"evidence"},{"id":"cn1","label":"We should use this service","type":"conclusion"}],"edges":[{"from":"e1","to":"c1","relation":"supports"},{"from":"c1","to":"cn1","relation":"implies"}]}
Node types: "claim" | "evidence" | "conclusion" | "assumption" Edge relations: "supports" | "implies" | "contradicts" | "requires"
Returns: cycles found, orphaned conclusions, grounding_score (evidence-to-conclusion reachability), and enforcement results.
Optionally pass "context" with prior iteration data for escalation and stall detection.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| edges | Yes | Directed edges between nodes | |
| nodes | Yes | Graph nodes representing claims, evidence, conclusions, or assumptions | |
| context | No | Optional caller-provided context for iterative enforcement. Include prior failure counts, iteration history, and previous response data to enable escalation and stall detection. Omit for one-shot usage. |