list_topics
Retrieve recent topics in a stream to discover conversation threads before fetching messages. Each topic includes its name and last message ID.
Instructions
List topics (threads) in a stream, most recent first.
Use this to discover what conversations exist in a stream before fetching messages. Each topic is like a thread/subject line.
Args: stream_id: The numeric ID of the stream. Use get_stream_id to look this up.
Returns: JSON list of topics with names and last message IDs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stream_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |