generate_receipt
Generate a formatted text receipt for a trip booking using its reference ID.
Instructions
Generate a formatted text receipt for a given booking reference.
Args:
booking_ref: The booking reference ID.
provider: The provider of the booking.
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_ref": "<booking_ref>"
},
"name": "generate_receipt"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| provider | No | bus | |
| booking_ref | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |