Mémoriser un produit habituel
save_usualSaves a recurring product under a short custom name for the active store, replacing any product previously saved under that name. Use it when the user says they always buy this item.
Instructions
Mémorise un produit sous un nom court pour le magasin actif (remplace le produit déjà mémorisé sous ce nom). À utiliser quand l'utilisateur dit qu'il prend toujours ce produit.
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": {
"name": "<name>",
"product_id": "<product_id>"
},
"name": "save_usual"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Nom court choisi par l'utilisateur, ex. 'lait' ou 'café du matin' | |
| product_id | Yes | Identifiant produit (champ id de search_product) |