user_action
Follow, unfollow, mute, unmute, block, or unblock a specified X user through a selected authorized account.
Instructions
Follow, unfollow, mute, unmute, block or unblock a user as the given account. X documents block as Enterprise-only, so it may be refused on pay-per-use apps.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"action": "<action>",
"user": "<user>"
},
"name": "user_action"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | A user: "@username", "username", or a numeric user ID | |
| action | Yes | ||
| account | No | X username of an authorized account (see list_accounts). Omit to use the default account. |