search_posts
Search tweets by query, returning a set number of results ordered by recent or popular. Specify query, count, and result type for targeted discovery.
Instructions
Search for tweets matching a query
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": "search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of tweets to fetch (default: 10, max: 100) | |
| query | Yes | The search query | |
| resultType | No | Type of results to return (default: recent) | recent |