list_topics
Lists all ROS 2 topics and their message types to inspect active data flows and verify topic types.
Instructions
列出当前系统中的全部话题及其消息类型。
何时用:想看系统里在传什么数据、某个话题的类型是什么。 返回:topic_count 与 topics 列表(name + type 字段)。 失败时返回 error 字段。
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_topics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||