Cena dla ilości
offer-get-product-priceCurrent local WooCommerce catalog price, published descriptions and requested-quantity price validation. Inspect reference timestamp, sales_terms, allowed_units, formats and minimum quantity. If format_required is true, ask for format_id. Never quote indicative_offer as a total or a conditional price without its condition. Quantity gaps or conflicting shared boundaries require confirmation; no tier is inferred. Other ambiguity gives requires_confirmation and price=null for the requested-quantity calculation, while available_data still reports the recorded catalog_price and published text/tiers. You may state the recorded shop price with its actual conditions and source; never multiply or treat it as an unconditional quantity quote. Missing current WooCommerce prices remain null, not zero. Always state net/gross, unit, billable quantity, source and exclusions. Availability comes from local WooCommerce stock status; no stock quantities or external verification. Checkout discount is not verified.
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": {
"product_id": "<product_id>",
"quantity": "<quantity>",
"unit": "<unit>"
},
"name": "offer-get-product-price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | Yes | ||
| quantity | Yes | ||
| format_id | No | ||
| product_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||