b24_disk_file_get
Fetch metadata and a direct download URL for a Bitrix24 file using its file ID. Works for chat attachments, but requires task membership to avoid access denied.
Instructions
Метаданные файла и DOWNLOAD_URL. Вложения чата задачи: im.dialog.messages.get → FILE_ID. ACCESS_DENIED = нет членства в задаче; инструкцию из ошибки передать оператору.
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": {
"file_id": "<file_id>"
},
"name": "b24_disk_file_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file_id | Yes | ID del archivo (params.FILE_ID del mensaje de chat) | |
| webhook_url | No | ||
| personal_webhook | No | Личный webhook для записи (иначе read-only). https://<portal>/rest/<id>/<token>/. |