Get network topology
get_td_topologyMap network wiring and detect structural issues. Returns node and connection counts, flagged problems, and full topology for a given root path.
Instructions
Read-only: return the nodes AND the connections (wiring) under a network root, flagging obvious structural issues. Returns {nodeCount, connectionCount, issues[], topology}. Use this when you need how nodes are wired together; use get_td_nodes/find_td_nodes when you only need the node list without connections, or snapshot_td_graph when you also want each node's parameters captured for diffing. Token economy: point it at a specific network root rather than the project root, and leave recursion off unless you need nested networks.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_td_topology"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| root_path | No | Network root to map. | /project1 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The network root that was mapped, echoing the request. | |
| issues | Yes | Plain-language structural problems detected, e.g. dangling or orphaned nodes. | |
| topology | Yes | The full graph: the node list and the connection list. | |
| nodeCount | Yes | Total number of nodes found under the root. | |
| connectionCount | Yes | Total number of wires (connections) between those nodes. |