ros2_set_parameters
Update runtime parameters for a ROS2 node by specifying its full name and a key-value dictionary of parameters to change, enabling dynamic configuration without restarting the node.
Instructions
Set runtime parameters for a specific ROS2 node.
Args:
node_name: Full name of the node (e.g. '/robot/diff_drive_controller')
parameters: Key-value dictionary of parameters to update
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_name": "<node_name>",
"parameters": "<parameters>"
},
"name": "ros2_set_parameters"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| node_name | Yes | ||
| parameters | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |