threads_search_topic
Search Threads posts by their assigned topic tag, not hashtags. Filter by date or engagement, control search depth and credit budget, and export matching posts to CSV.
Instructions
Search Threads posts by TOPIC TAG: the category Threads itself assigns to a post (post.ext.topic_tag; not a hashtag in the text). Each topic name is the search term and results are filtered to posts carrying that tag. Use threads_discover_tags to find real topic names. Returns slim posts, a summary (pages, matches, credits, why it stopped), top authors and next_cursor.
Args:
topic_tag: One or more Threads topic tags, comma separated, e.g. "Business, Entrepreneurship, Marketing" (case-insensitive). Every topic is searched and merged without duplicates.
topic_match: "exact" (default) = the post's tag must equal one of the topics; "contains" = it may merely contain it ("business" also matches "Small Business").
mode: How hard to look. "quick" (default) = one page, at most 30 credits; "deep" = scroll until about 30 matches (up to 20 pages, at most 200 credits); "bulk" = scroll as far as the budget allows (up to 50 pages, at most 500 credits), for exports. State the mode you chose and why.
target_matches: Stop once this many matching posts are collected (0 = the mode's default).
min_engagement: Drop posts whose likes + comments are below this (views are not used).
start_date: Optional ISO date (YYYY-MM-DD) lower bound.
end_date: Optional ISO date (YYYY-MM-DD) upper bound.
cursor: next_cursor from a previous call, to continue where it stopped.
max_credits: Replace the mode's credit budget (0 = the mode's budget). The search stops before a page that would exceed it.
save_csv: File name (no folders), e.g. "moto_posts". Saves ALL matches to <data dir>/exports/<name>.csv (the reply says the exact path) and authors to <name>_authors.csv; the reply then carries only a 10-post preview.
dry_run: True = do not search, only return the credit estimate and the account balance for these exact arguments (free).
confirmed: Leave False. Without it nothing is run: you get the balance and the estimate. Set True only after the user has seen them and said yes.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"topic_tag": "<topic_tag>"
},
"name": "threads_search_topic"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | quick | |
| cursor | No | ||
| dry_run | No | ||
| end_date | No | ||
| save_csv | No | ||
| confirmed | No | ||
| topic_tag | Yes | ||
| start_date | No | ||
| max_credits | No | ||
| topic_match | No | exact | |
| min_engagement | No | ||
| target_matches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |