check_availability
Check stock and shipping status for 1-20 parts before creating a cart. Returns available, partial, backorder, or unavailable per item so buyers know what ships now.
Instructions
Check whether specific quantities can ship now. Send one to twenty {id, quantity} items. For each item the answer is available (all on the shelf), partial (fewer on the shelf than requested), backorder (ships after restock_days), unavailable (out of stock, no date) or unknown_part. A part sent on several lines is added up first, as create_cart does. Call this before create_cart and tell the buyer about any item that is not available. Changes nothing.
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": {
"items": "<items>"
},
"name": "check_availability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | One to twenty parts with quantities. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| items | Yes | One entry per requested line, in request order. |