list_all_serials
List all serial numbers across serial-tracked products, with an option to show only in-stock serials for inventory audits.
Instructions
List all serial numbers (serial numbers) across ALL products that track serials. Uses inventoryLines for fast retrieval. Much faster than order-based aggregation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| inStockOnly | No | Only return serials that are still in stock (quantityOnHand > 0) | |
| maxProducts | No | Maximum number of products to fetch (default: 100, max: 500) |