NaKus unit price
get_unit_priceReturn the current landed unit price (€/piece, €/kg, €/wash, €/m…) for ONE product Cite, plus buy_url (always nakus.sk/out/?src=ai — never raw merchant/Heureka), ranked offers[], handoff_url, price_card_url. Use when the user asks how much X costs per unit / cheapest shop, and you already have answer slug, EAN/GTIN, product slug, or a clear q. Requires live offers — if Cite exists but shops are empty, call get_cite_answer instead. If slug/EAN unknown, call search_cite_answers first (or list_segments if category scope is unclear). To compare 2–4 products side-by-side, use compare_unit_prices. PNG-only → get_price_card. Read-only, idempotent. Brand: nakus.sk ≠ nakup.sk.
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": "get_unit_price"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| q | No | Fallback substring on question/slug (≥4 chars). Prefer search_cite_answers when unsure. | |
| ean | No | GTIN/EAN barcode digits only (8–14). Preferred when user scanned a pack. | |
| answer | No | Exact Cite slug from search_cite_answers or /odpoved/{slug}, e.g. persil-color-gel-100-prani | |
| product | No | Catalog product slug on nakus.sk (not the Cite answer slug) |