bitrix24_im_file_get
Retrieve a file from a Bitrix24 chat message by file ID, returning viewable image content or a download URL for other file types.
Instructions
Fetch a single file attached to a Bitrix24 chat message by its fileId (from bitrix24_im_chat_messages files[].fileId). Images are returned as viewable image content; other file types return metadata plus a webhook-authenticated download URL. Use this for attachments bitrix24_im_chat_messages didn't inline (non-images, or images past the inline size/count cap).
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": {
"fileId": "<fileId>"
},
"name": "bitrix24_im_file_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | Numeric disk file ID from a chat message's files[] entry |