process_payment
Process a payment for a movie booking by supplying the booking ID, payment method, and amount in USD. Finalizes the reservation by completing the payment transaction.
Instructions
Handles simulated payment transaction.
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": {
"booking_id": "<booking_id>",
"payment_method": "<payment_method>",
"amount": "<amount>"
},
"name": "process_payment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Payment amount in USD | |
| booking_id | Yes | Booking ID from book_seats | |
| payment_method | Yes | Payment method (e.g., "card", "cash") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |