Search Posts
x_search_postsSearch posts from the last 7 days using keywords, hashtags, or X operators. Returns matching results in markdown or JSON.
Instructions
Search for recent posts (last 7 days) matching a query. Supports keywords, hashtags, and X search operators.
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": "x_search_posts"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of results to return (1-100) | |
| query | Yes | Search query (keywords, hashtags, X search operators) | |
| response_format | No | Output format: 'markdown' for human-readable or 'json' for structured data | markdown |