start_launch
Initialize a ROS2 launch session with PID tracking for reliable cleanup and persistence across reconnections.
Instructions
Start a ROS2 launch file and track the session.
Creates a new launch session with PID/PGID tracking for proper cleanup. Sessions persist across MCP reconnections.
Args: launch_file: Path to the launch file parameters: Optional parameters to pass to launch launch_args: Optional command line arguments
Returns: Session information including ID, PID, PGID, and status
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": {
"launch_file": "<launch_file>"
},
"name": "start_launch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| parameters | No | Launch parameters | |
| launch_args | No | Command line arguments | |
| launch_file | Yes | Path to the ROS2 launch file |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||