For when the user already knows what they want and needs to know where it’s actually in stock.Documentation Index
Fetch the complete documentation index at: https://docs.closient.com/llms.txt
Use this file to discover all available pages before exploring further.
When to use
- Agent has a specific GTIN (from barcode,
resolve-gtin, orlocal-product-search). - User asks “where can I actually buy this today?”
local-product-search instead.
Current flow (session-based search)
Closient’s search session takes a GTIN constraint and returns availability hits grouped by store.Response
Each hit has:store— name, address, distance_kmoffer— price, stock_status (in_stock/low_stock/out_of_stock/unknown), last_checked_at
Typical flow
- Start with
local-product-searchto find a candidate product → getgtin. - Use this skill to check where to actually buy it near the user.
- Optionally use
resolve-gtinfor deeper product detail.
Planned (not yet shipped)
GET /retailers/api/v1/products/{gtin}/availability?lat=...&lon=...&radius_km=...
— a direct geo-distance endpoint that skips the session. Use the session
approach above until that lands.
Related skills
local-product-search— start here if the user doesn’t have a GTINresolve-gtin— get product detail for the GTIN in the hitscheck-recalls— confirm the product isn’t under recall before recommending