list_topics
Enumerate every ROS 2 topic on the current graph or mock fixtures, returning name, message type, publisher count, subscriber count, and mode.
Instructions
ROS 2 graph only; on a DDS-only setup use list_endpoints. List every ROS 2 topic on the current graph (or the mock graph in mock mode). Returns list[TopicInfo]: each entry carries name, message_type, publisher_count, subscriber_count, and mode_effective (live or mock) to tell a real graph from fixtures. Live mode leaves qos_reliability and qos_durability null here: call get_topic_info for a topic's QoS. Empty list when the graph has no topics or when live discovery times out. Raises an MCP error when no ros2 CLI is available (DDS-only setup). Read-only; no side effects.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |