cg_architect
Initialize, validate, render, and link architectural structures for Cartograph projects using architect.py.
Instructions
Architectural mapping for the current project. Use this to scaffold an architect.py structural map, validate it, render it as a Mermaid diagram, or link widgets to components.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | Yes | Architect action to perform. | |
| path | No | Path to the architect.py file or project root. | |
| component_id | No | Component ID for link action. | |
| widget | No | Widget ID or path to link to the component. | |
| clear | No | Clear the link for the specified component. | |
| output | No | Output path for render action. | |
| stdout | No | Print rendered diagram to stdout. |