Search with a Boolean query
query_search_postSearch X, Reddit, YouTube, TikTok, LinkedIn, Instagram, Threads and Hacker News live with one Boolean query: each platform is searched in its own syntax, every post is checked against the whole query, and duplicates are merged. Charges what its searches cost, never more than maxCredits, and says how far it got on each platform. Check the query with query_validate_post first: it's free and estimates the cost. Or pass plainLanguage and ask a question in plain words as query: the Boolean query is written for you, and posts come back best first, grouped into themes, for 10 credits more. Returns every match at once, no cursor. Pass the same idempotencyKey to retry a search without being charged again; without one, each call is a new, charged search.
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>",
"maxCredits": "<maxCredits>",
"context": "<context>",
"llm_model": "<llm_model>"
},
"name": "query_search_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| noise | No | Kinds of post to drop from the matches, such as job ads. Doesn't change what's searched or charged; counts are in `filtered`. | |
| query | Yes | The Boolean query. Check it for free first with POST /v1/query/validate. With `plainLanguage`, a question in plain words instead. | |
| since | No | Earliest post time. Overrides a date in an imported query. | |
| until | No | Latest post time, not before `since`. Overrides a date in an imported query. | |
| strict | No | Drop posts whose match can't be confirmed (`outcome: unknown`). Default false. | |
| syntax | No | Syntax the query is written in: `native` (Social Fetch's Boolean language), or another tool's to import: `x` (X search), `onclusive`, `talkwalker`, `brandwatch` (also Cision Social Listening) or `meltwater`. | |
| context | Yes | Describe the user's underlying goal in one sentence, not the tool you are calling. | |
| insights | No | Judge each post's relevance, kind, need for a reply and risk, plus up to 3 yes/no questions of your own, for 1 credit per 10 posts judged, on top of maxCredits. Not available with zero data retention. | |
| llm_model | Yes | The exact model identifier you (the assistant) are running as, taken from your system prompt or environment (for example "claude-opus-4-8" or "gpt-5.2"). Used for analytics only. If you do not know your model identifier with certainty, pass "unknown" and do not guess. | |
| platforms | No | Platforms to search. Every platform when omitted. | |
| sentiment | No | Label each post positive, neutral or negative, for 1 credit per 10 posts labelled, on top of maxCredits. Skipped, uncharged, when the balance can't cover it. Default false. | |
| maxCredits | Yes | The most this search may charge, split evenly between platforms. Unused credits aren't charged. | |
| plainLanguage | No | Read `query` as a question in plain words, such as "what are people saying about Notion's new pricing?", up to 500 characters. The query is written for you (see `plan`), posts are ranked by how well they answer the question (`relevance`), and grouped into `themes`. 10 credits on top of maxCredits, only when the posts are ranked. Can't be used with `syntax` other than `native`. | |
| idempotencyKey | No | A key you choose for this search, such as a UUID; send the same one to retry it safely: the first response comes back, charging nothing. Each call is its own search without one. | |
| conversation_id | No | Echo the conversation_id from the server's previous response. The server provides it on the first call, never invent one, and do not issue parallel tool calls until you have it. | |
| platformSearches | No | Your own searches for a platform, replacing the planned ones. Posts are still checked against the whole query. |