setup_navigation_agent
Add a NavigationAgent2D or NavigationAgent3D under a parent node, configuring pathfinding and avoidance properties such as radius, max speed, and navigation layers.
Instructions
Add a NavigationAgent2D or NavigationAgent3D under a parent node, applying only the pathfinding and avoidance properties given
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_agent"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | auto | |
| name | No | ||
| radius | No | ||
| max_speed | No | ||
| node_path | Yes | ||
| max_neighbors | No | ||
| avoidance_enabled | No | ||
| navigation_layers | No | ||
| neighbor_distance | No | ||
| path_desired_distance | No | ||
| target_desired_distance | No |