x_post
Publishes one approved post to X, optionally quoting or replying to a specific post. Use only after the user confirms the exact text; draft replies for authors who have not mentioned or quoted you.
Instructions
Publish a single post to X. Only call after the user approved the exact text. Note: X only allows API replies (reply_to) to posts whose author mentioned or quoted you; for anyone else, give the user a draft to paste.
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": {
"text": "<text>"
},
"name": "x_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | ||
| quote | No | Post ID to quote | |
| reply_to | No | Post ID to reply to |