get_user_relations
List followers or following for an X user, or get muting/blocking lists, defaulting to the authorized account.
Instructions
List followers or following of a user (default: the account itself), or the account's own muting/blocking list.
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": {
"type": "<type>"
},
"name": "get_user_relations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| user | No | A user: "@username", "username", or a numeric user ID | |
| account | No | X username of an authorized account (see list_accounts). Omit to use the default account. | |
| max_results | No | Page size; clamped to what the endpoint allows | |
| pagination_token | No | meta.next_token from the previous page |