exec_cmd
Run any shell command in a container for temporary ROS operations such as rostopic pub and catkin_make. No command whitelist is applied, so use caution.
Instructions
在容器内执行任意 shell 命令(通用兜底工具)。
用于 rostopic pub、catkin_make 等临时操作;不经过任何白名单,谨慎使用。
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": {
"command": "<command>"
},
"name": "exec_cmd"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| command | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |