x_like_set
Set a like or unlike on an X post using its ID or status URL, then verify the updated like state.
Instructions
X (Twitter): like or unlike a post as the authenticated user. post accepts a numeric post id or a full status URL; action selects like or unlike. A reversible engagement write — the result reports the resulting liked 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 add or remove the like. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| summary | No |