discover
Surface trending topics, hashtags, and posts from your timeline, or get personalized post recommendations based on interests and engagement.
Instructions
Surface content from your own home timeline. Requires authentication (app password). Read-only: performs no writes. Two timeline-driven discovery modes. For finding accounts similar to a given user use find_similar_users; for topic-based communities use discover_communities. Subject to per-tool rate limiting.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | What to surface from your timeline: 'trending' = trending topics/hashtags; 'recommended' = posts you're likely to engage with. | |
| limit | No | How many items to return. mode=trending: items returned PER category (hashtags/topics/posts), default 10, values above 25 are capped at 25; a fixed sample of 100 timeline posts is analyzed regardless. mode=recommended: number of recommended posts returned (1–100, default 20). | |
| timeWindow | No | Lookback window. Only used when mode=trending (default 24h). | |
| includeHashtags | No | Include trending hashtags. Only used when mode=trending (default true). | |
| includeTopics | No | Include trending topics/keywords. Only used when mode=trending (default true). | |
| includePosts | No | Include notable trending posts. Only used when mode=trending (default true). | |
| actor | No | Optional account (handle or DID) to tailor recommendations to: its recent author feed seeds the interest profile (topics and authors) used for scoring. Only used when mode=recommended; defaults to inferring interests from the authenticated user’s own timeline engagement. | |
| topics | No | Restrict recommendations to posts matching these topic keywords. Only used when mode=recommended. | |
| minLikes | No | Minimum like count for a recommended post. Only used when mode=recommended (default 5). | |
| maxAge | No | Maximum post age in hours for recommendations. Only used when mode=recommended (default 24). | |
| excludeReposts | No | Exclude reposts from recommendations. Only used when mode=recommended. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| success | Yes | Whether the discovery run completed successfully. | |
| mode | Yes | Which discovery mode was run; determines which other fields are present. | |
| timeWindow | No | Lookback window that was analyzed. Present when mode=trending. | |
| trendingHashtags | No | Trending hashtags ranked by count and recent growth (empty when includeHashtags is false). Present when mode=trending. | |
| trendingTopics | No | Trending topic keywords ranked by engagement (empty when includeTopics is false). Present when mode=trending. | |
| trendingPosts | No | Notable posts ranked by engagement with a recency boost (empty when includePosts is false). Present when mode=trending. | |
| summary | No | Summary of the analyzed timeline sample. Present when mode=trending. | |
| recommendations | No | Recommended posts sorted by descending recommendationScore. Present when mode=recommended. | |
| insights | No | Human-readable observations about the recommendations (or advice when none matched). Present when mode=recommended. |