List friends
vk_friends_getList friends of a VK user. Provide user ID (defaults to token owner) and optional fields to get detailed profile info. Requires user token and only works for profiles that expose friend list.
Instructions
List a user's friends. Returns bare IDs unless you ask for fields. Needs a user token, and only works for profiles that expose their friend list.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "vk_friends_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Number of friends | |
| order | No | ||
| fields | No | Profile fields | |
| user_id | No | User ID. Defaults to the token owner. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | Total number of matches on VK, which is usually larger than the returned page | |
| items | Yes | Friend IDs, or profiles when fields are requested | |
| pagination | No | Where this page sits in the whole result. Call the tool again with offset set to next_offset to continue; when next_offset is null there is nothing left to fetch. |