x_block_set
Block or unblock an X (Twitter) user by passing a numeric ID, handle, @handle, or profile URL and choosing whether to sever or restore the follow relationship and hide or reveal the account.
Instructions
X (Twitter): block or unblock a user as the authenticated user. Blocking severs the follow relationship in both directions and hides the account. user accepts a numeric id, handle, @handle, or profile URL; action selects block or unblock. The action is reversible, but it sits in the destructive policy cell (off by default, per-call confirmation) because a block visibly alters the account relationship. (disabled by policy read-only)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | Target user: numeric id, handle, @handle, or profile URL (not "me"). | |
| action | Yes | Whether to block or unblock the user. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| summary | No |