retweet
Retweets a specified tweet for a given user. Provide the tweet ID and your user ID to share the tweet with your followers.
Instructions
Retweet a specific tweet
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": {
"tweetId": "<tweetId>",
"userId": "<userId>"
},
"name": "retweet"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | Yes | The ID of the X user who will retweet the tweet. | |
| tweetId | Yes | The ID of the tweet to retweet |