crear_pedido
Create a new pending order for the current session's customer. Use whole-cent integer prices and get back the created order with its order number.
Instructions
Crea un pedido nuevo en estado pendiente para el cliente de esta sesión. Los precios van en centavos enteros (precio_centavos), nunca con decimales. Devuelve el pedido creado con su número.
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": {
"items": "<items>"
},
"name": "crear_pedido"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nota | No | Aclaración opcional (máximo 500 caracteres). | |
| items | Yes | Ítems del pedido (1 a 50). |