get_following
Retrieve the list of accounts a specific user follows on X (Twitter) by providing their numeric user ID, with options for pagination and result limits.
Instructions
List who a user follows by their numeric user ID.
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": {
"user_id": "<user_id>"
},
"name": "get_following"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | Yes | The numeric user ID | |
| max_results | No | Number of results (1-1000, default 100) | |
| next_token | No | Pagination token from previous response |