A photo, voice note or file from a chat
get_chat_fileFetch a photo, voice note, video or document sent in a chat (its message id from read_chat). Kept for 90 days.
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": {
"contact": "<contact>",
"id": "<id>"
},
"name": "get_chat_file"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The message id from read_chat. | |
| brand | No | Which assistant (its slug from get_overview `brands[].slug`). Leave out when the business has one. | |
| contact | Yes | The chat's contact key, from list_chats, list_needs_you or search_chats (`contact`). |