Publish a post
vk_wall_postPublish a post on a VK wall, supporting community posting, media attachments, and scheduled publishing.
Instructions
Publish a post on a wall. To post in a community, set owner_id to the community ID with a minus sign (-123) and from_group true, otherwise it appears as your personal post on the community wall. Attach media with the attachment string that vk_photos_upload_wall returns. Returns the new post_id.
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": {
"message": "<message>"
},
"name": "vk_wall_post"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | No | Unique identifier to prevent duplicate posts | |
| message | Yes | Post text content | |
| owner_id | No | Wall owner: a community as a negative number (-123), a person as a positive one. Defaults to the token owner. | |
| from_group | No | Post on behalf of community | |
| attachments | No | Comma-separated attachments (e.g. photo123_456,link) | |
| publish_date | No | Unix timestamp for scheduled post (must be within 2 weeks) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post_id | Yes | ID of the published post |