ros_topic_echo
Read the last n messages (1-5) from a ROS topic, omitting array fields, to inspect current content and diagnose issues.
Instructions
读取 ROS 话题最新 n 条消息(--noarr,不含数组字段内容)。
参数 n 取值范围 1~5。用于查看 /bridge/Instruct、/agent_run/log 等话题内容。
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": "ros_topic_echo"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| n | No | ||
| topic | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |