Function: post_tweet
Description: This tool belongs to the TwitterAPI, which provides core functionality for posting tweets, retweeting, commenting, and following users on Twitter. Tool description: Post a tweet for the authenticated user.
Parameters:
type: dict
properties: content: type: string
description: Content of the tweet.
tags: type: array
items: type: string
description: List of tags for the tweet. Tag name should start with #. This is only relevant if the user wants to add tags to the tweet.
mentions: type: array
items: type: string
description: List of users mentioned in the tweet. Mention name should start with @. This is only relevant if the user wants to add mentions to the tweet.
required: content
Response:
type: dict
properties: id: type: integer
description: ID of the posted tweet.
username: type: string
description: Username of the poster.
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