Voice messages
messenger_get_voice_filesRetrieve temporary download URLs for voice messages by voice ID. Obtain voice IDs from messenger_get_messages_v3 and download immediately before links expire.
Instructions
Returns temporary download URLs for voice messages by their voice_id. Read-only. voice_id values come from voice messages obtained via messenger_get_messages_v3 (the voice/voice_id field). The links are temporary — download immediately.
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": {
"voice_ids": "<voice_ids>"
},
"name": "messenger_get_voice_files"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Avito account ID that participates in the chats. Defaults to Profile_id from .env. | |
| voice_ids | Yes | Voice message identifiers from messenger_get_messages_v3. Prefer an array; a legacy CSV string remains accepted. |