twitter_trends
Retrieve current trending topics for any location by providing a WOEID. Optionally limit results and select fields to get trend names and tweet counts for regional analysis.
Instructions
Trending topics for a location by WOEID (1 = worldwide, 23424977 = US, 23424748 = Australia, 23424975 = UK).
Returns: {data:[{trend_name, tweet_count}]}
Example: Worldwide trends {"woeid": 1}
Auth: needs your own key in X_BEARER_TOKEN.
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": {
"woeid": "<woeid>"
},
"name": "twitter_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| woeid | Yes | Where-On-Earth id of the location. Required — part of the URL path. | |
| max_trends | No | Max trends to return (1-50, default 20). | |
| trend_fields | No | Trend fields to include (CSV) — tweet_count is omitted unless requested. | trend_name,tweet_count |