diff
Compare two system architectures to identify structural differences in topology, roles, and subsystems. Analyze changes between EN syntax descriptions for system analysis.
Instructions
Structural diff between two systems — topology, role, and subsystem changes.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_a | Yes | EN source code for the first system | |
| source_b | Yes | EN source code for the second system |
Implementation Reference
- src/index.ts:137-151 (handler)Registration and handler implementation for the 'diff' tool, which calls the external API.
server.tool( "diff", "Structural diff between two systems — topology, role, and subsystem changes.", { source_a: z.string().describe("EN source code for the first system"), source_b: z.string().describe("EN source code for the second system"), }, async ({ source_a, source_b }) => { const result = await callApi("diff", { source_a, source_b }); return { content: [{ type: "text" as const, text: result.text }], isError: result.isError, }; } );