run_ros2_executable
Launch any ROS2 executable from a specified package by providing the package and executable names.
Instructions
Runs a ROS 2 executable from a specified package.
Args:
package: Name of the ROS2 package
executable: Name of the executable to run
Example: "Start the turtlesim node" → ros2 run turtlesim turtlesim_node
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": {
"package": "<package>",
"executable": "<executable>"
},
"name": "run_ros2_executable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| package | Yes | ||
| executable | Yes |