get_inventory

Updated May 21, 20261 min read

Get inventory for a single product via GET /inventory/product-id/{product-id}. Use select with json-mask syntax to return only required fields.

Parameters

NameTypeRequiredDescription
product_idstringYesProduct ID whose inventory should be fetched.
tenantIdstringYes
selectstringNojson-mask expression to filter response fields.

Example agent prompt

"Look up the inventory for me."

get_inventory(
  tenantId="…",
  product_id="PROD-1234"
)