x_repost_set
Repost a post on X as the authenticated user, or undo an existing repost. Provide a numeric post ID or full status URL, then choose repost or unrepost to change the post's reposted state.
Instructions
X (Twitter): repost (retweet) a post as the authenticated user, or undo that repost. post accepts a numeric post id or a full status URL; action selects repost or unrepost. A reversible engagement write — the result reports the resulting reposted state. (disabled by policy read-only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | Target post: a numeric post id or a full status URL (e.g. https://x.com/u/status/1). | |
| action | Yes | Whether to repost or undo the repost. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| summary | No |