Get delivery label formats
get_delivery_label_formatsRetrieves the label sizes each delivery service can print and how it handles formats—explicit choices, provider default, or unsupported—so you can choose valid label_format values.
Instructions
List the label sizes the given delivery services can print — the values accepted by get_order_delivery_labels' label_format. Per service, mode says how it treats sizes: EXPLICIT_FORMATS (pick one of formats), PROVIDER_DEFAULT (size ignored, the service prints its own) or NOT_SUPPORTED (no labels at all, formats empty). preselected is only the size preselected in the KIT UI — it does NOT apply when label_format is omitted. Services come back in the platform's own display order, so look one up by delivery_service, not by position.
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": {
"delivery_service": "<delivery_service>"
},
"name": "get_delivery_label_formats"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| delivery_service | Yes | Delivery services to report sizes for; duplicates are ignored by the API. A chunk's service is in get_order under delivery_chunks[].delivery_info.delivery_service_type. |