X trends
x_trendsFetch trending topics by location using a WOEID or get personalized trends for the authenticated account, with configurable result limits.
Instructions
Trending topics by location (WOEID) and personalised trends for the authenticated account.
Actions (pass "action" plus that action's parameters):
by_location: Trending topics for a location identified by WOEID.
personalized: Trending topics personalised for the authenticated account (based on follows, location and activity).
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": {
"action": "<action>"
},
"name": "x_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| woeid | No | Where On Earth ID of the location. 1 = worldwide. | |
| action | Yes | Action to perform. One of: by_location, personalized. | |
| max_trends | No | Number of results to return (1-50). |