search_tweets
Find X/Twitter posts with SupaBird Magic Search. The user speaks normally. Pass their request as prompt. Do not convert it into Twitter operators (from:, min_faves:, filter:, since:).
HOW MANY POSTS:
- Default limit is 5. Omit limit unless the user asked for a specific number.
- If they ask for a number, pass that as limit (1–20).
- The result may contain fewer posts than limit when fewer matches pass.
RESPONSE FORMATTING:
- Always display the full tweet text as-is, never summarize or shorten it
- Only truncate if a tweet exceeds 400 characters, and if so, clearly note "[truncated, ask to display full tweet]" at the end
- Do not paraphrase or editorialize tweet content when displaying results
- Include the author and the url for each post
OFFER NEXT ACTIONS:
- After every response, offer next actions
- Tell user they can select a post and ask SupaBird to rewrite it in their style, or create a custom post and schedule it
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": {
"prompt": "<prompt>"
},
"name": "search_tweets"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | How many matching posts to return. Default 5. Set only when the user names a count. | |
| prompt | Yes | The user's search request in plain language. Example: "recent build in public posts with under 5 likes". |