vk_friends_search
Search VK friends by name or other criteria. Retrieve matching profiles with customizable fields, limits, and pagination.
Instructions
Returns a list of friends matching the search criteria.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | User ID. | |
| q | No | Search query string (e.g., 'Vasya Babich'). | |
| fields | No | Profile fields to return. Sample values: 'nickname', 'screen_name', 'sex', 'bdate' (birthdate), 'city', 'country', 'timezone', 'photo', 'photo_medium', 'photo_big', 'has_mobile', 'rate', 'contacts', 'education', 'online', | |
| name_case | No | Case for declension of user name and surname: 'nom' - nominative (default), 'gen' - genitive , 'dat' - dative, 'acc' - accusative , 'ins' - instrumental , 'abl' - prepositional | |
| offset | No | Offset needed to return a specific subset of friends. | |
| count | No | Number of friends to return. |