Hind detailimallile
quote_templatePrice, size and delivery date for a template part with the given parameters (same calculation as the website configurator; takes up to a minute). Returns order_url: the customer orders and pays there. Hind, mõõdud ja tarneaeg; tellimine käib lingi kaudu veebis.
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": {
"template": "<template>",
"parameters": "<parameters>"
},
"name": "quote_template"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| material | No | Material code from list_materials; default black PETG. Materjali kood. | |
| quantity | No | Number of pieces. Kogus. | |
| template | Yes | Template name from list_templates, e.g. 'hose_adapter'. Malli nimi. | |
| parameters | Yes | Parameter values as a JSON object matching the template's parameterSchema (millimetres). Parameetrid skeemi järgi. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| fits | Yes | ||
| parts | Yes | ||
| sizeMm | Yes | ||
| inStock | Yes | ||
| summary | Yes | ||
| currency | Yes | ||
| material | Yes | ||
| orderUrl | Yes | ||
| quantity | Yes | ||
| template | Yes | ||
| warnings | Yes | ||
| dispatchOn | Yes | ||
| fitMessage | Yes | ||
| priceExVat | Yes | ||
| maxQuantity | Yes | ||
| needsReview | Yes | ||
| priceIncVat | Yes | ||
| materialCode | Yes | ||
| deliveryLatest | Yes | ||
| vatRatePercent | Yes | ||
| materialReadyOn | Yes | ||
| unitPriceIncVat | Yes | ||
| deliveryEarliest | Yes |