Confirm a Permit Reservation
confirm_reservationStep 2 of 2: with the code the visitor got by email, madeira.fun signs them in, checks the start time live and submits the government reservation for exactly what start_reservation described. The answer gives order_id and status_token. The reservation is not paid: madeira.fun then emails the government's PayPay link, and the visitor must pay the permit fee to the government within 24 hours, or before the start time if that is sooner, or it lapses. Safe to retry: calling it again with the same reservation_token returns the same order and never books twice (also after a lost answer). At most 5 reservations per email per day through apps.
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": {
"reservation_token": "<reservation_token>",
"code": "<code>"
},
"name": "confirm_reservation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The code from the madeira.fun email, digits only. | |
| reservation_token | Yes | The reservation_token start_reservation returned, unchanged. |