build_project
Compile ROS 2 workspaces or selected packages using colcon, streamlining development by enabling targeted builds in a controlled environment.
Instructions
Build a ROS 2 workspace or selected packages using colcon.
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": {
"workspace_path": "<workspace_path>"
},
"name": "build_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package_names | No | ||
| workspace_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||