threads_search_keyword
Search public Threads posts by keyword or phrase to find matching posts and authors, with credit estimates before running and options for date, engagement, and CSV export.
Instructions
Search Threads posts by plain KEYWORD or phrase with Threads' real keyword search (3 credits per post, so price it first). It has no tag filter and is the least precise mode; prefer threads_search_hashtag / threads_search_topic when a tag exists.
Args:
query: Keyword or phrase to search for.
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": {
"query": "<query>"
},
"name": "threads_search_keyword"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | quick | |
| query | Yes | ||
| cursor | No | ||
| dry_run | No | ||
| end_date | No | ||
| save_csv | No | ||
| confirmed | No | ||
| start_date | No | ||
| max_credits | No | ||
| min_engagement | No | ||
| target_matches | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |