getPartAvailability
Look up availability of one exact catalogue part. Pass exactly one of part_id or part_number (server enforces). part_number must match exactly — substitutes via searchPartsByNumber + part_id. Optional brand when several brands share a number. Pass country for VAT-inclusive price.
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": "getPartAvailability"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| brand | No | Optional brand when the number exists on several brands. | |
| country | No | Optional buyer delivery country, ISO 3166-1 alpha-2, uppercase, e.g. LT. Pass it to get the final price incl. VAT. | |
| part_id | No | Internal product id. | |
| part_number | No | Exact manufacturer part number (not a TecDoc cross). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| error | No | Present when the call failed. The HTTP status stays 200. | |
| price | No | Consumer price including VAT for vat_country, the same figure the product page shows that visitor. Null when there is no priced in-stock variant. | |
| currency | No | ISO 4217 code of the shop channel's base currency (EUR), or null when there is no price. | |
| price_net | No | Catalog price before VAT. Present together with vat_country. | |
| price_note | No | Present when the caller did not pass country and vat_country is null. The price then excludes VAT. | |
| vat_country | No | ISO country whose VAT was added to price. Null when no rate applies. | |
| stock_status | No | ||
| warehouse_lead_time_days | No | Business days until the part leaves the warehouse (the dispatch window shown on the product page); null when the part is out of stock. |