vk_photos_get_messages_upload_server
Get the server address for uploading photos in private messages on VK. Specify a peer ID to receive the upload URL.
Instructions
Returns the server address for photo upload in a private message for a user. VK API method: photos.getMessagesUploadServer. Tool name: vk_photos_get_messages_upload_server. Section: photos. Access level: read.
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_photos_get_messages_upload_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| peer_id | No | Destination ID. "For user: 'User ID', e.g. '12345'. For chat: '2000000000' + 'Chat ID', e.g. '2000000001'. For community: '- Community ID', e.g. '-12345'. " |