scrape_twitter
Extract tweets by query, hashtag, or user timeline for social media research and analysis. Save results to a local database for trend detection and profile insights.
Instructions
Scrape tweets from Twitter/X. Search by query, hashtag, or user timeline. Results are saved to the local timeline database for later analysis.
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": {
"query": "<query>"
},
"name": "scrape_twitter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search query, hashtag, or username to scrape | |
| type | No | Type of scrape: search tweets or user timeline | |
| date_from | No | Start date (YYYY-MM-DD) | |
| date_to | No | End date (YYYY-MM-DD) | |
| max_results | No | Maximum number of results to return (default varies by platform) |