Add to the trip plan
add_to_planAdd one thing to a plan: hotel, flight details, cruise, tour or experience, restaurant, event, meeting, parking or rental_car (rides are planned automatically). A hotel, flight or cruise replaces the one already in the plan. Adding the same thing again changes nothing. Returns item_id (for remove_from_plan), the updated summary and the same plan_url, which now shows it.
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": {
"plan_id": "<plan_id>",
"edit_key": "<edit_key>",
"item": "<item>"
},
"name": "add_to_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | ||
| plan_id | Yes | plan_id from plan_trip. | |
| edit_key | Yes | edit_key from plan_trip. Keep it private: it lets you change the plan. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | The plan's name, e.g. "Alaska cruise · May 7–14": use it when the traveler has more than one plan. | |
| item_id | No | ||
| plan_id | Yes | ||
| plan_url | Yes | The visual plan page for the traveler. Share this link. | |
| confirmation | No | Which plan the change went on, e.g. "Added to Seattle · Dec 4–7". | |
| summary_markdown | No | A short day-by-day summary to show in the chat. |