Megamarket Search
megamarket_searchSearch the Megamarket catalog for products, prices, and availability via the operator's Chrome session, with results based on the selected delivery address.
Instructions
Search the Megamarket catalog via the mobile API, inside the operator's Chrome.
Prices and availability depend on the delivery address: by default a public city-level one (MEGAMARKET_ADDRESS); only with MEGAMARKET_USE_PROFILE_ADDRESS=1 does the logged-in profile's default address win — that reads a private account endpoint, and the response says so in _meta.warnings ("address_source:profile" plus a "profile_address_read" notice). _meta.healthy is false only for that profile read and for "address_source:none" (no delivery address resolved); the default suggest path answers healthy with no address warning.
Return Format
MegamarketSearchResponse: {status, query, tier_used, count, total_count, items[], _meta}. price_rub is None when absent — never 0.
Error Format
ToolError: TransportDownError on ServicePipe refusals (with the fix inline); ParserDriftError when a reached-200 body no longer parses.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | Yes | Search text, e.g. 'стиральная машина' |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | ||
| count | No | ||
| items | No | ||
| query | No | ||
| status | No | ||
| tier_used | No | ||
| total_count | No |