read_nav
Reads a .nav mesh header and compares it to its map's BSP size to catch mismatches that silently break Nextbot pathing. Run it after every map compile, which invalidates nav.
Instructions
Reads a .nav mesh header and says whether it still matches its map. The engine compares the BSP size recorded in the mesh against the map it is loading, and a mismatch means the mesh is silently unusable -- in game that looks like Nextbots that will not path, with nothing in the console explaining why. Recompiling a map always invalidates its nav, so check this after any compile. Generating a new one needs the engine (nav_generate); there is no offline generator, in this project or anywhere public.
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": {
"path": "<path>"
},
"name": "read_nav"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | The .nav, or the .bsp beside it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bsp | Yes | ||
| path | Yes | ||
| verdict | Yes | ||
| version | Yes | ||
| areaCount | Yes | ||
| fileBytes | Yes | ||
| isAnalyzed | Yes | ||
| matchesBsp | Yes | ||
| placeCount | Yes | ||
| subVersion | Yes | ||
| savedBspSize | Yes | ||
| actualBspSize | Yes |