Post listing to X (requires confirm + your token)
post_listingPublish listing text to X using the seller's OAuth 2.0 token; omit confirm to preview the exact post. Attach photos separately in X.
Instructions
Post the listing's text to X using the END USER's own OAuth 2.0 user token (X_USER_ACCESS_TOKEN, scope tweet.write). Without confirm:true returns the exact post preview. Photos are not uploaded by this tool; attach them in the X app or post manually.
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": {
"listingId": "<listingId>"
},
"name": "post_listing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | No | ||
| confirm | No | ||
| listingId | Yes |