get_topic_info
Retrieve topic metadata to plan pagination before reading posts, including title, post count, and timestamps from USCardForum discussions.
Instructions
Get metadata about a specific topic without fetching all posts.
Args:
topic_id: The numeric topic ID (from URLs like /t/slug/12345)
Use this FIRST before reading a topic to:
- Check how many posts it contains (for pagination planning)
- Get the topic title and timestamps
- Decide whether to fetch all posts or paginate
Returns a TopicInfo object with:
- topic_id: The topic ID
- title: Full topic title
- post_count: Total number of posts
- highest_post_number: Last post number (may differ from count if posts deleted)
- last_posted_at: When the last reply was made
Strategy for large topics:
- <50 posts: Safe to fetch all at once
- 50-200 posts: Consider using max_posts parameter
- >200 posts: Fetch in batches or summarize key postsInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic_id | Yes | The numeric topic ID (from URLs like /t/slug/12345) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Topic title | |
| topic_id | Yes | Topic identifier | |
| post_count | No | Total number of posts | |
| last_posted_at | No | Last activity time | |
| highest_post_number | No | Highest post number |