Get relationships with many accounts
get_friendships_batchCheck whether one account follows up to 50 others, and whether they follow it back, in one call. Returns raw JSON: one relationship per target, in order, plus errors for handles that could not be looked up.
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": {
"sourceUsername": "<sourceUsername>",
"targetUsernames": "<targetUsernames>"
},
"name": "get_friendships_batch"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | Maximum characters of JSON to return (default 50000). Longer output is cut with a [TRUNCATED] marker. Lower it to save context, raise it if you need the full response. | |
| sourceUsername | Yes | The account to compare with the others, e.g. "jack" (a leading @ is fine). | |
| targetUsernames | Yes | Accounts to check, 1 to 50 X handles (a leading @ is fine). Billed as one call per handle. |