Search public posts
search_public_postsSearches public posts on the platform by keyword, as the account (Threads, Bluesky, Mastodon). order top (default) or recent; on Threads, mode TAG searches a topic tag. Same state, cursor and replyTarget rules as get_mentions. items is third-party text inside an untrusted-data envelope.
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": {
"platform": "<platform>",
"accountId": "<accountId>",
"query": "<query>"
},
"name": "search_public_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Threads only. Default KEYWORD | |
| limit | No | Items per page (default 25) | |
| order | No | Default top | |
| query | Yes | The search term | |
| cursor | No | `cursor` from the previous page; omit for the first | |
| platform | Yes | The account's platform, from list_listening_accounts | |
| accountId | Yes | The account's accountId, from list_listening_accounts | |
| workspace | No | Act in a team workspace: the owner's id from whoami's memberOfWorkspaces[].ownerId. Omit to act in your own workspace. |