get_product_serials
Retrieve all serial numbers for a product using inventoryLines instead of order-based lookup. Returns stock status; quantityOnHand=0 means sold or shipped.
Instructions
Get all serial numbers (serial numbers) for a specific product using inventoryLines. Much faster than order-based lookup. Returns serials with stock status (quantityOnHand=0 means sold/shipped).
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": {
"productId": "<productId>"
},
"name": "get_product_serials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| productId | Yes | The product ID |