get_g2_user_following
List accounts an Instagram user follows, one page per call. Pass user_id and use the page_id cursor from the previous response to retrieve the next pages.
Instructions
List accounts an Instagram user follows, one page per call. Use it to page through the following list; use get_v1_user_search_following to look for specific names in it and get_g2_user_followers for the user's followers. Pass user_id; for the next page pass the cursor from the previous response as page_id. Live request to Instagram, one billed request per page. (GET /g2/user/following)
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_g2_user_following"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page_id | No | ||
| user_id | Yes |