find_stores
Search stores by product name or category to find negotiation-enabled stores. Returns ranked list with store details to start negotiating.
Instructions
Find negotiate.v1-compliant stores matching a search query or category.
Use this when the shopper asks to negotiate for something but hasn't specified a particular store. Search by free-text product name, category, or both. Returns a ranked list of matching stores; pick one and pass its domain to start_negotiation.
Args: query: Free-text search across store name, tagline, categories, and product names. Empty string matches all stores. category: Filter by category tag (e.g., "appliances", "books", "fitness", "office", "fashion"). Empty string skips filter.
Returns: List of matching store dicts. Each entry has: - name: human-readable store name - domain: the domain to pass to discover_store / start_negotiation - tagline: short marketing line - categories: list of category tags - products_count: how many products are listed - sample_products: a few example product names
Empty list if nothing matches. Raises RuntimeError if the directory
is unreachable on first call.Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query | No | ||
| category | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |