set_parameter
Update parameters on a running ROS 2 node dynamically while SAFE_WRITE mode restricts changes to allowlisted parameters, helping agents adjust robot behavior without restarting nodes.
Instructions
Dynamically update a parameter on a running ROS2 node. Sandboxed — only allowlisted parameters can be modified in SAFE_WRITE mode.
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>",
"param_name": "<param_name>",
"value": "<value>"
},
"name": "set_parameter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | New value — float, int, string, or bool | |
| node_name | Yes | ||
| param_name | Yes |