available_serials
Lists sellable firearm serial numbers with individual sell prices, excluding held or consigned guns. Optionally includes all units for inventory audits.
Instructions
In-stock Serial Nos per firearm item, each with its per-gun sell price: {item_code: [{serial, sell_price, ...}]}. Use for 'which units do we have of this model + at what price'. By default mirrors the POS picker: held / consigned-out / consignment-warehouse guns are EXCLUDED (they're not sellable over the counter). Pass exclude_unavailable=false for the RAW list — inventory audits that must also see consigned/held guns. Read-only.
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": {
"item_codes": "<item_codes>"
},
"name": "available_serials"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_codes | Yes | ||
| exclude_unavailable | No |