update_stock
Update the available quantity of a Mercado Libre listing by item ID and new stock count, returning the previous and new stock levels for inventory tracking.
Instructions
Actualiza el stock/cantidad disponible de una publicación en Mercado Libre. Retorna stock anterior y nuevo.
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": {
"item_id": "<item_id>",
"quantity": "<quantity>"
},
"name": "update_stock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | ID de la publicación (ej: MLA1234567890) | |
| quantity | Yes | Nueva cantidad disponible |