Get Mentions of a User
get_user_mentionsFetch tweets that mention a specific Twitter/X user (i.e. tweets containing @userName). Useful for brand monitoring, sentiment tracking on a public figure, or finding conversations involving an account. Supports time-bound queries via sinceTime/untilTime (Unix seconds). Paginates via cursor.
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": {
"userName": "<userName>"
},
"name": "get_user_mentions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cursor | No | Pagination cursor; omit for first page (~20 per page). | |
| userName | Yes | Twitter/X screen name without @ — fetches tweets that mention this user (@userName). | |
| sinceTime | No | Unix timestamp (seconds) lower bound — only mentions after this time. Omit for no lower bound. | |
| untilTime | No | Unix timestamp (seconds) upper bound. Omit for no upper bound. |