impact
Analyze system dependencies by removing a node to identify disconnected components and assess structural impact.
Instructions
Blast radius — remove a node and see what disconnects.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | EN source code describing the system | |
| node | Yes | Node to remove for impact analysis |
Implementation Reference
- src/index.ts:201-215 (handler)The implementation of the "impact" tool, which uses a helper function `callApi` to send a request to the external EN API.
server.tool( "impact", "Blast radius — remove a node and see what disconnects.", { source: z.string().describe("EN source code describing the system"), node: z.string().describe("Node to remove for impact analysis"), }, async ({ source, node }) => { const result = await callApi("impact", { source, node }); return { content: [{ type: "text" as const, text: result.text }], isError: result.isError, }; } );