vk_friends_get
Return a list of a VK user's friends, optionally including detailed profile information such as name, photo, and city, with sorting and filtering options.
Instructions
Returns a list of user IDs or detailed information about a user's friends. VK API method: friends.get. Tool name: vk_friends_get. Section: friends. Access level: read.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | User ID. By default, the current user ID. | |
| order | No | Sort order: , 'name' - by name (enabled only if the 'fields' parameter is used), 'hints' - by rating, similar to how friends are sorted in My friends section, , This parameter is available only for [vk.com/dev/standalone|desktop applications]. | |
| list_id | No | ID of the friend list returned by the [vk.com/dev/friends.getLists|friends.getLists] method to be used as the source. This parameter is taken into account only when the uid parameter is set to the current user ID. This parameter is available only for [vk.com/dev/standalone|desktop applications]. | |
| count | No | Number of friends to return. | |
| offset | No | Offset needed to return a specific subset of friends. | |
| fields | No | Profile fields to return. Sample values: 'uid', 'first_name', 'last_name', 'nickname', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'domain', 'has_mobile', 'rate', 'contacts', 'education'. | |
| ref | No |