DNS-Shop Product Card
dns_cardRetrieve a DNS-Shop product card by URL to get price, availability, and product details.
Instructions
Fetch one DNS-Shop product card.
Return Format
DnsCardResponse: {status, product_id, title, price_rub, old_price_rub, is_available, url, tier_used, meta}.
Error Format
ToolError: BadRequestError when the URL carries no product id; TransportDownError on CDP/Qrator failures; ParserDriftError when a rendered card has neither title nor price.
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_url": "<product_url>"
},
"name": "dns_card"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_url | Yes | dns-shop.ru product URL containing /product/<id>/, e.g. /product/b7a1667f9b19ed20/ |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Canonical product URL. | |
| _meta | No | Validation metadata. | |
| title | No | Product title. | |
| status | No | Response status: success or error. | success |
| price_rub | No | Price in rubles; None when absent — never 0. | |
| tier_used | No | Fetch tier used (cdp). | |
| product_id | No | DNS product id/slug tail. | |
| is_available | No | Whether the product is sellable now. | |
| old_price_rub | No | Strikethrough price in rubles. |