navigate_breadth_first
Explore diagram structure level by level by traversing nodes breadth-first from a start node, mapping hierarchy and connections systematically within a depth limit.
Instructions
Explore diagram structure using breadth-first traversal.
Systematically visits nodes level by level, useful for understanding structure.
Args: diagram_id: ID of diagram to explore start_node: Starting node ID max_depth: Maximum exploration depth (default: 5)
Returns: dict with explored_nodes, edges_traversed, total_explored
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": {
"diagram_id": "<diagram_id>",
"start_node": "<start_node>"
},
"name": "navigate_breadth_first"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_depth | No | ||
| diagram_id | Yes | ||
| start_node | Yes | ||
| expand_composites | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||