Function: search_tweets
This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Search for tweets containing a specific keyword.
Parameters:
type: dict
properties: keyword: type: string
description: Keyword to search for in the content of the tweets.
required: keyword
Response:
type: dict
properties: matching_tweets: type: array
description: List of dictionaries, each containing tweet information.
items: type: dict
properties: id: type: integer
description: ID of the retrieved tweet.
username: type: string
description: Username of the tweet's author.
content: type: string
description: Content of the tweet.
tags: type: array
description: List of tags associated with the tweet.
items: type: string
mentions: type: array
description: List of users mentioned in the tweet.
items: type: string