setup_navigation_region
Adds a NavigationRegion2D or NavigationRegion3D under a specified parent node, configuring a navigation polygon/mesh with agent settings like max slope.
Instructions
Add a NavigationRegion2D or NavigationRegion3D under a parent node with a configured navigation polygon or mesh (agent_max_slope in degrees)
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": {
"node_path": "<node_path>"
},
"name": "setup_navigation_region"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| name | No | ||
| cell_size | No | ||
| node_path | Yes | ||
| cell_height | No | ||
| agent_height | No | ||
| agent_radius | No | ||
| agent_max_climb | No | ||
| agent_max_slope | No | ||
| navigation_layers | No | ||
| source_geometry_mode | No |