echo_ros2_topic
Capture and display a specified number of messages from any ROS2 topic, enabling monitoring and debugging of robot data.
Instructions
Echo messages from a ROS2 topic for a specified number of messages.
Args:
topic_name: Name of the topic to echo
count: Number of messages to capture (default: 1)
Example: Echo 5 messages from /scan topic
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_name": "<topic_name>"
},
"name": "echo_ros2_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| topic_name | Yes |