Skip to main content
The inventory-check skill retrieves stock data for a product, computes its health status, and provides reorder recommendations when needed. It covers the skill definition, two scripts for stock analysis and reorder calculation, and the inventory guide reference the agent consults for threshold definitions and escalation rules. Allowed tools: check_inventory For the tool source code, see Tools. For the agent YAML that loads this skill, see Operations assistant. To see this skill execute a request end-to-end, see the Sample query walkthrough.

Skill definition SKILL.md

YAML

Script scripts/check_stock.py

Computes the stock health status and days-of-supply metric from raw inventory data.
Return values

Script scripts/calc_reorder.py

Computes the reorder point, suggested order quantity, and safety stock. Run this script when reorder_needed is true.
Return values

Reference references/INVENTORY_GUIDE.md


Next steps