x_publish_post
Publish a post to the connected X (Twitter) account with optional media. Text can include mentions, hashtags, and URLs. Media files are uploaded via v2 chunked upload. Returns tweet_id and URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Post text (required). X enforces per-account character limits. | |
| account_id | No | X account: numeric channel account ID or @handle (optional; defaults to workspace's sole X account). | |
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. | |
| media_file_ids | No | DialogBrain file IDs to attach (optional, max 4 per post). |