vk_wall_get
Retrieve posts from VKontakte user or community walls using owner ID or domain, with pagination support for accessing content.
Instructions
Get posts from a user or community wall
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner_id | No | Wall owner ID (negative for community) | |
| domain | No | Short address of user or community | |
| count | No | Number of posts (1-100) | |
| offset | No | Offset for pagination |
Implementation Reference
- src/index.js:106-118 (schema)Tool registration and input schema definition for vk_wall_get
{ name: 'vk_wall_get', description: 'Get posts from a user or community wall', inputSchema: { type: 'object', properties: { owner_id: { type: 'number', description: 'Wall owner ID (negative for community)' }, domain: { type: 'string', description: 'Short address of user or community' }, count: { type: 'number', description: 'Number of posts (1-100)' }, offset: { type: 'number', description: 'Offset for pagination' }, }, }, }, - src/index.js:237-244 (handler)Handler logic for vk_wall_get tool - processes arguments and calls the VK API
case 'vk_wall_get': result = await vk.wallGet({ owner_id: args.owner_id, domain: args.domain, count: args.count || 20, offset: args.offset, }); break; - src/index.js:55-55 (helper)VKClient wallGet helper method that makes the actual VK API call
wallGet(params) { return this.call('wall.get', params); }