Post to X (Twitter)
twitter_postPost a tweet from an X account you control (via injected session cookies). Costs 0.001 USDC, paid per-action via x402.
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": {
"account_id": "<account_id>",
"cookies": "<cookies>",
"text": "<text>"
},
"name": "twitter_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Tweet text | |
| cookies | Yes | Non-empty array of session cookies for the X account | |
| payment | No | base64 x402 payment payload (X-PAYMENT); omit on first call to receive payment instructions | |
| account_id | Yes | Your identifier for the X account | |
| community_id | No | ||
| proxy_session_id | No |