How to fetch
- If a HasData tool is connected, call the one whose name matches the task below. Read that tool's schema and fill the fields it asks for. Do not run a shell command when the tool exists.
- If no HasData tool is connected, ask the user to press Connect on the HasData connector for this chat. Do not install software and do not ask them to paste an API key.
- Use the
hasdatacommand only when the connector cannot be connected and the binary is already on PATH. Runhasdata --helpand use a Walmart command only if it is listed.
Which tool
| Ask | Tool name contains | Pass |
|---|---|---|
| Search Walmart | walmart_search | q |
| One product | walmart_product | itemId or url |
| Reviews | walmart_reviews | itemId or url |
minPrice and maxPrice filter a search. domain is the Walmart site when the user names a country. Do not invent a price, rating, or review the tool did not return.
Amazon and Shopify stay on hasdata-ecommerce. A cross-store price check is hasdata-prices.