calculate_trip_cost
Estimate total travel expenses by calculating flight costs, hotel stays, daily expenses, and number of travelers for budget planning.
Instructions
Calculate total estimated trip cost.
Args: flight_cost: Cost of flights per person hotel_cost_per_night: Hotel cost per night num_nights: Number of nights daily_expenses: Estimated daily expenses per person (default: $100) num_travelers: Number of travelers (default: 1)
Returns: Dictionary with cost breakdown
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": {
"flight_cost": "<flight_cost>",
"hotel_cost_per_night": "<hotel_cost_per_night>",
"num_nights": "<num_nights>"
},
"name": "calculate_trip_cost"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flight_cost | Yes | ||
| hotel_cost_per_night | Yes | ||
| num_nights | Yes | ||
| daily_expenses | No | ||
| num_travelers | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||