analyze_launch_file
Statically analyze a ROS 2 launch file to extract declared nodes, includes, arguments, environment changes, and processes without executing any launch actions.
Instructions
Statically analyze one workspace-relative Python, XML, or YAML ROS 2 launch file. Returns declared nodes, includes, arguments, environment changes, and processes; Python uses AST and YAML uses safe loading. It never executes launch actions or commands.
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": {
"relative_path": "<relative_path>"
},
"name": "analyze_launch_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| relative_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||