PrestaShop Low Stock Report
ps_low_stock_reportLists PrestaShop products whose stock is at or below a chosen threshold, sorted with the most critical items first, so you can identify low-stock and out-of-stock items for replenishment.
Instructions
List products whose stock is below a threshold, sorted by quantity ascending (most critical first).
Args:
threshold: Stock alert threshold (default: 5) — products with quantity <= threshold are returned
limit: Max products to return (default: 50)
lang_id: Language ID for product names (default: "1")
Returns: Array of low-stock products with product_id, name, stock_id, quantity, and out_of_stock policy. Includes a summary with total count and critical (quantity=0) count.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "ps_low_stock_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max products to return | |
| lang_id | No | Language ID for product names | 1 |
| threshold | No | Stock alert threshold (quantity <= threshold) |