echo_topic_messages
Capture and return messages from a ROS2 topic in Autoware. Specify the topic name and number of messages to retrieve.
Instructions
Capture and return messages from a ROS2 topic.
Args: topic_name: Name of the topic to echo count: Number of messages to capture (default: 1)
Returns: Captured messages from the 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_topic_messages"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of messages to capture | |
| topic_name | Yes | Name of the ROS2 topic |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||