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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_all_serials"
}
}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) |