Search X Posts by User
x-posts-by-userSearch X (Twitter) posts by a specific user, with an optional keyword 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": {
"user": "<user>"
},
"name": "x-posts-by-user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | User to search for, example: 'elonmusk' | |
| count | No | Number of posts to retrieve (1-100). | |
| query | No | Advanced search query to filter this user's posts. |