get_inventory
Retrieve WooCommerce inventory levels and stock status for products, and filter results for low-stock or out-of-stock items.
Instructions
Retrieve inventory levels and stock status for products in the WooCommerce store. Supports filtering for low-stock and out-of-stock items (deterministic low stock threshold <= 5).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination. | |
| limit | No | Maximum number of inventory items to return (1-100). | |
| low_stock_only | No | When true, only returns products that are out of stock or have stock quantity below or equal to their low stock threshold (default threshold: <= 5). |