Consultar stock
consultar_stockRetrieves real-time stock levels for a product by its SKU. Use it to verify availability before quoting or selling; find the SKU first with the product search tool.
Instructions
Stock actual de un producto por SKU. Para precios con descuentos usá precio; para encontrar el SKU, buscar_producto.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"sku": "<sku>"
},
"name": "consultar_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | SKU del producto, por ejemplo ET-HM-0001 (lo devuelve buscar_producto) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | Yes | ||
| stock | Yes | ||
| nombre | Yes | ||
| unidad | Yes | ||
| disponible | Yes |