searchTweets
Search for tweets on Twitter by entering a query string, specify maximum results, and include specific tweet fields to retrieve targeted data efficiently.
Instructions
Search for tweets using a query string
Input Schema
Name | Required | Description | Default |
---|---|---|---|
maxResults | No | Maximum number of results to return | |
query | Yes | The search query | |
tweetFields | No | Fields to include in the tweet objects |
Input Schema (JSON Schema)
{
"properties": {
"maxResults": {
"description": "Maximum number of results to return",
"type": "number"
},
"query": {
"description": "The search query",
"type": "string"
},
"tweetFields": {
"description": "Fields to include in the tweet objects",
"items": {
"type": "string"
},
"type": "array"
}
},
"required": [
"query"
],
"type": "object"
}