Skip to main content
Run these inside the execute tool. Each example is one sandbox call.

Examples

Post an X (Twitter) tweet or reply with public media URLs (credits required)
Hosted MCP injects the required Idempotency-Key. Direct REST callers must supply it themselves.
Upload media for a DM (credits required)
Store message_id with the uploaded media_id. Keep full DM bodies out of shared MCP outputs. Return IDs, status, media references, and source filenames instead. Leave reply_to_message_id unset because the DM send endpoint rejects reply threading.
Download media and get gallery link (credits required)
Bulk download combines search and download.

Next steps