Explain graph node
explain_nodeTrace the origin of a lesson or recommendation by displaying one Experience Graph node with its direct relations and typed edges to related tasks, executions, and outcomes.
Instructions
Show one Experience Graph node with its direct relations. Returns: structured 'root', 'nodes' (Task, Execution, ToolCall, Outcome, Experience, Lesson, Context or CandidatePath and their stored fields) and typed 'edges' (used, caused, failed_with, resolved_by, recommended_for). Embeddings are omitted. Use when: tracing why a lesson or recommendation exists, after finding an id with search_experience or get_execution_context. Not for: searching by topic (use search_experience). Side effects: none; read-only. Errors: an MCP error reports 'Unknown graph node' for an id that does not exist, and an MCP error is returned until the project is approved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_id | Yes | Id of an Experience Graph node: an experience id from search_experience (starts with 'exp-'), the execution id from get_execution_context, or any node id from an earlier explain_node result. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root | Yes | Id of the graph node that was requested. | |
| edges | Yes | Direct typed relationships to or from the root node. | |
| nodes | Yes | The root node and directly related nodes; embeddings are omitted. |