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
| Name | Type | Required | Description |
|---|---|---|---|
product_id | string | Yes | Product ID whose inventory should be fetched. |
tenantId | string | Yes | — |
select | string | No | json-mask expression to filter response fields. |
Example agent prompt
"Look up the inventory for me."
get_inventory(
tenantId="…",
product_id="PROD-1234"
)