Verify Compared Offer
compare_verify_offerVerify a compared offer against its native marketplace card to confirm live price, stock, seller, and product identifiers before relying on the comparison.
Instructions
Verify one compared offer through its marketplace card tool.
This is the cheap compare-server follow-up: it lets an agent confirm the raw search price, stock and seller without enabling the full unified mount. The returned card is source-native and therefore keeps fields the comparison intentionally normalises away.
Return Format
JSON object: {source, product_id_or_url, card}. card is the native
source response, preserving price, availability, seller, and source-specific
fields when the marketplace exposes them. identity_verification, when
requested, carries the observed typed identifiers and a match verdict;
absent manufacturer evidence yields unknown, never a title-derived exact match.
For Yandex, pass the search row's variant_id as expected_variant_id:
a different or missing card SKU is rejected before computing a price delta.
Without it, only the current default card price is checked.
Error Format
Raises BadRequestError when the source is unknown, not installed, or the
identifier cannot be validated; native card errors are returned as tool
errors with their source-specific taxonomy.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | Yes | Marketplace source name from compare_prices, e.g. wildberries or ozon. | |
| expected_identity | No | Optional manufacturer identifiers and variant attributes to verify against the card. | |
| product_id_or_url | Yes | product_id or direct product URL from the compared offer | |
| expected_price_rub | No | Price returned by compare_prices; used to report a live card delta. | |
| expected_variant_id | No | Yandex variant_id from the search row; rejects a different card SKU. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||