label
Print labels and manage templates for parts, stock, and locations in InvenTree. List, print, or download label templates.
Instructions
Label printing and template management in InvenTree.
Operations: list_templates, print_part, print_stock, print_location, download_template
Args: operation: One of the operations listed above. label_type: Filter for list_templates (part, stock, location). template_id: Label template ID for print/download operations. item_ids: List of item IDs to print labels for. destination: File path to save downloaded template to.
Returns: JSON string with label templates or print result.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| operation | Yes | ||
| label_type | No | part | |
| template_id | No | ||
| item_ids | No | ||
| destination | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |