get_publishers_for_topic
Identify nodes publishing to a specified topic in ROS or ROS2 systems. Use this function to analyze topic-specific publisher connections for robotic movement control.
Instructions
Get list of nodes that are publishing to a specific topic. Example: get_publishers_for_topic('/cmd_vel')
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": {
"topic": "<topic>"
},
"name": "get_publishers_for_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes |