Get the accounts an X account follows
get_x_user_followingGet the accounts an X account follows. Returns accounts the account follows in the order X lists them: mostly most recent first, though X can place some accounts out of that order. X chooses the page size (up to about 70), so there is no limit; paginate with meta.nextCursor, which is null after the last page. 404 when the account does not exist, is suspended (then details.reason is suspended), or is protected: a protected account's posts and connections are visible only to accounts it approved. Billed per account returned. The first page also bills one profile lookup, to resolve {user}; later pages carry the account in the cursor and do not. Costs 1 credit + 2 credits per profile returned + 1 credit per user_result returned. When meta.nextCursor is set, call again with cursor set to it for the next page.
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": "<user>"
},
"name": "get_x_user_following"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user | Yes | X handle with or without @, a numeric user id, or an x.com profile URL. | |
| cursor | No | Opaque cursor from the previous page's `meta.nextCursor`. Pass it back unchanged, with the same path and query parameters; a cursor from another request is rejected with 400. |