get_trends
Fetch trending topics and hashtags from X.com for any location. Specify location and number of results (up to 50).
Instructions
Get trending topics and hashtags on X.com
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_trends"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| location | No | Location for trending topics (e.g., 'United States', 'Global') | |
| max_results | No | Maximum number of trends to return (1-50) |