Skip to content

ToolsShopping

Docs

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.

ToolUse it whenCost
shopping_search_productsYou need prices and sellers for a product across shops.1.65 credits per call
shopping_get_productYou have a Google Shopping product link and need its prices across sellers.1.65 credits per call
walmart_get_productYou have a Walmart product URL and need its price, rating or seller.1.65 credits per call
walmart_search_productsYou need the products Walmart shows for a search, with prices.1.65 credits per product

Search Google Shopping#

Toolshopping_search_products
Reads
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

NameTypeRequiredDescription
querystringYesThe product to look for.
countrystringNoTwo-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#

Toolshopping_get_product
Reads
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

NameTypeRequiredDescription
urlstringYesThe 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#

Toolwalmart_get_product
Reads
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

NameTypeRequiredDescription
urlstringYesThe 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#

Toolwalmart_search_products
Reads
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

NameTypeRequiredDescription
querystringYesWhat to search Walmart for.
limitintegerNoHow many products to return, at most 100. Default 20.
Example
{
  "name": "walmart_search_products",
  "arguments": {
    "query": "air fryer",
    "limit": 10
  }
}