map_architecture
Batch-create a codebase mental model in Synapse: map components, data flows, decisions, hypotheses, risks, and directed links for visual architecture tracking.
Instructions
Batch-map the agent's high-level understanding and mental model of the codebase (HLD): components, data flows, decisions, hypotheses, and risks, plus directed links between them. Nodes are created under a 'Code Mental Model (HLD)' branch unless parentId or parentKey is given.
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": {
"mindmapId": "<mindmapId>",
"nodes": "<nodes>"
},
"name": "map_architecture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| links | No | Directed flow or dependency links between node keys (or existing node IDs) | |
| nodes | Yes | HLD / mental-model nodes to create or update | |
| parentId | No | Parent node ID. If omitted, creates/uses a top-level 'Code Mental Model (HLD)' branch. | |
| mindmapId | Yes | Mindmap ID |