consultar_stock
Check the available stock of a specific product by its ID. Use this to confirm product availability when a customer asks.
Instructions
Consulta el stock disponible de un producto específico por su ID.
Usar esta herramienta cuando el cliente pregunte por disponibilidad de un producto puntual.
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": {
"producto_id": "<producto_id>"
},
"name": "consultar_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| producto_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |