file_upload
Upload a file to GigaChat for multimodal processing, enabling AI to analyze images, documents, and other content.
Instructions
Загрузка файла в GigaChat для мультимодальной обработки.
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_content": "<file_content>",
"file_name": "<file_name>"
},
"name": "file_upload"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| purpose | No | Назначение файла (general, assistants) | general |
| file_name | Yes | Имя файла с расширением | |
| file_content | Yes | Base64-encoded содержимое файла |