injector_diagram
Generate a Mermaid sequence diagram for a code symbol by traversing its outbound dependencies to visualize architectural workflows.
Instructions
Generates a Mermaid sequence diagram for a given symbol by traversing its outbound dependencies (Product B). Useful for visualizing architectural workflows.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>"
},
"name": "injector_diagram"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | The exact symbol name to generate a sequence diagram for (e.g., 'handleProjectMap'). | |
| max_depth | No | Maximum traversal depth (default: 3). | |
| include_primitives | No | If true, includes basic types (String, boolean) and framework boundaries in the diagram. Defaults to false for crisp business logic visualization. |