categorize
Auto-discover subsystem boundaries from dependency structure to identify system components and relationships. Analyze EN source code to reveal structural patterns and organizational hierarchies.
Instructions
Auto-discover subsystem boundaries from dependency structure.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | EN source code describing the system |
Implementation Reference
- src/index.ts:255-268 (handler)The "categorize" tool is registered and implemented in src/index.ts, which uses a helper function `callApi` to send requests to an external API.
server.tool( "categorize", "Auto-discover subsystem boundaries from dependency structure.", { source: z.string().describe("EN source code describing the system"), }, async ({ source }) => { const result = await callApi("categorize", { source }); return { content: [{ type: "text" as const, text: result.text }], isError: result.isError, }; } );