cdek_label
Generate and download a CDEK barcode label as a PDF file using a tracking number. Supports multiple print formats including A4, A5, A6, and A7.
Instructions
Формирование и скачивание ШК-места с выбором формата (POST /v2/print/barcodes).
Формирует ШК-место в формате PDF с указанным размером и сохраняет файл.
Args: cdek_number: CDEK tracking number output_path: Absolute path to save PDF (e.g. /tmp/1234567890_label.pdf) format: Print format — A4 (4 per page), A5 (2 per page), A6 (default, ~70x120mm), A7 (small)
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": {
"cdek_number": "<cdek_number>",
"output_path": "<output_path>"
},
"name": "cdek_label"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | A6 | |
| cdek_number | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |