Tools
Shopping
Google Shopping and Walmart products and prices.
Things to ask#
Ask your agent in plain words. It picks the tool.
- Where is the Sony WH-1000XM5 cheapest across shops?
- Compare this Walmart listing's price with what Google Shopping shows.
- Search Walmart for air fryers and show the top results with their ratings.
Tools in Shopping#
4 tools. Prices are in credits; 1,000 credits are $1.
| Tool | Use it when | Cost |
|---|---|---|
shopping_search_products | You need prices and sellers for a product across shops. | 1.65 credits per call |
shopping_get_product | You have a Google Shopping product link and need its prices across sellers. | 1.65 credits per call |
walmart_get_product | You have a Walmart product URL and need its price, rating or seller. | 1.65 credits per call |
walmart_search_products | You need the products Walmart shows for a search, with prices. | 1.65 credits per product |
Search Google Shopping#
Tool
Readsshopping_search_products- Good for
- You need prices and sellers for a product across shops.
- Not the tool for
- Amazon-only data (use
amazon_search_products). - What you get
- Products Google Shopping lists, with title, price, seller, rating and link.
- Cost
- 1.65 credits per call. Cached 6 hours: a cache hit costs 0.825 credits.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | The product to look for. |
country | string | No | Two-letter country code to search from, e.g. us, gb, de. Default: the brand's country, else us. |
Example
{
"name": "shopping_search_products",
"arguments": {
"query": "sony wh-1000xm5 headphones",
"country": "us"
}
}Get a Google Shopping product#
Tool
Readsshopping_get_product- Good for
- You have a Google Shopping product link and need its prices across sellers.
- Not the tool for
- Searching (use
shopping_search_products, whose links this takes). - What you get
- The product: title, rating, review count, description, every seller with price, total, shipping and stock, and the spec sheet.
- Cost
- 1.65 credits per call. Cached 6 hours: a cache hit costs 0.825 credits.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The Google Shopping product URL, e.g. https://www.google.com/search?ibp=oshop&q=...&prds=catalogid:... |
Example
{
"name": "shopping_get_product",
"arguments": {
"url": "https://www.google.com/search?ibp=oshop&q=Sony+WH-1000XM5+Noise+Canceling+Wireless+Headphones&prds=catalogid%3A17755277695162489284%2Cgpcid%3A11726664398501807381%2CheadlineOfferDocid%3A10419985032498353209%2CimageDocid%3A8167406120833962747%2Cproductid%3A8123523306754565002%2Cpvt%3Ahg%2Crds%3APC_11726664398501807381%7CPROD_PC_11726664398501807381&hl=en&gl=us&udm=28"
}
}Get a Walmart product#
Tool
Readswalmart_get_product- Good for
- You have a Walmart product URL and need its price, rating or seller.
- Not the tool for
- Searching Walmart (use
walmart_search_products). - What you get
- The product: title, brand, price, availability, rating, review count, seller and identifiers.
- Cost
- 1.65 credits per call. Cached 6 hours: a cache hit costs 0.825 credits.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
url | string | Yes | The Walmart product (with /ip/) URL, e.g. https://www.walmart.com/ip/123456789 |
Example
{
"name": "walmart_get_product",
"arguments": {
"url": "https://www.walmart.com/ip/Apple-AirPods-Pro-2nd-Generation/1752657021"
}
}Search Walmart#
Tool
Readswalmart_search_products- Good for
- You need the products Walmart shows for a search, with prices.
- Not the tool for
- One product's full details (use
walmart_get_product). - What you get
- Products with title, price, rating, review count and URL.
- Cost
- 1.65 credits per product. Cached 6 hours: a cache hit costs 50% of the live price.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
query | string | Yes | What to search Walmart for. |
limit | integer | No | How many products to return, at most 100. Default 20. |
Example
{
"name": "walmart_search_products",
"arguments": {
"query": "air fryer",
"limit": 10
}
}