Delete Travel Program
delete_programDelete a travel program. Params: id (uuid). The program's non-completed trips without participants are deleted too (returned as deletedTrips { count, names }) and its listing is removed from the company website draft (publishing is a separate step); if an open trip with participants exists, deletion stops with itinerary.delete_blocked_by_trips (details.trips lists the blocking trips with id, name, status, participants; cancel or complete them first). Completed trips remain as history records (keptCompletedTrips).
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": {
"id": "<id>"
},
"name": "delete_program"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | ||
| deletedTrips | No | ||
| keptCompletedTrips | No |