get_subscribers_for_topic
Retrieve a list of nodes subscribed to a specific topic in ROS or ROS2 systems for debugging or monitoring purposes using the 'get_subscribers_for_topic' tool.
Instructions
Get list of nodes that are subscribed to a specific topic. Example: get_subscribers_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_subscribers_for_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | Yes |