Navigation depth
nav_depth_checkAnalyze a navigation tree. Give tree as indented text (2 or 4 spaces or tabs, bullets optional, or 'A > B > C' paths) or JSON (nested {label, children} objects, arrays or a key-value map). Optionally maxDepth (default 4), maxBreadth (default 9) and pages (pages or labels that should be reachable, to find orphans). Returns node and leaf counts, depth, nodes and average children per level, the widest branch, items deeper than the limit, branches wider than the limit, one-child branches, naming collisions (siblings with the same name, the same name in different branches, a child repeating its parent), and orphans. Structural checks only; limits are conventions and there is no magic number.
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": {
"tree": "<tree>"
},
"name": "nav_depth_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tree | Yes | Indented text, 'A > B' paths, or JSON | |
| pages | No | Pages or labels that should appear in the tree | |
| maxDepth | No | Deepest acceptable level, default 4 | |
| maxBreadth | No | Most items per level, default 9 |