buy_meal
Buy exactly one menu item with credit after confirmation, ensuring the current price does not exceed the provided max_price.
Instructions
Spend credit to buy exactly one menu item. User must confirm; fresh price cannot exceed max_price.
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": {
"canteen": "<canteen>",
"day": "<day>",
"menu_id": "<menu_id>",
"max_price": "<max_price>"
},
"name": "buy_meal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| day | Yes | ||
| canteen | Yes | ||
| menu_id | Yes | ||
| confirmed | No | ||
| max_price | Yes |