save_trip
Create or update a server-side trip draft. Returns trip_id, url, trip_url, and continue_url (/s/{id}) so the student can restore selections on Extralingo.com. Not a booking. Requires OAuth trips scope (Bearer token).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "save_trip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Optional student email for anonymous drafts. With OAuth, the verified account email is used. | ||
| locale | No | Response language and site context. One of en, nl, da, sv. | |
| trip_id | No | Omit to create a new trip. Pass an existing trip_id from save_trip to update the same continue_url. | |
| school_id | No | Craft CMS school entry id from search_language_schools hits (field school_id). Not the CRM UUID. | |
| configuration | No | Same shape as the Extralingo school-page configurator: startDate (YYYY-MM-DD), students[] with courseId, weeks, optional accommodationGroupId, mealType, extras. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Legacy alias of continue_url. | |
| note | No | ||
| success | Yes | ||
| summary | No | Human-readable configuration summary for agents. | |
| trip_id | No | Shareable trip id (/s/{id}). | |
| trip_url | No | ||
| school_id | No | Craft school entry id. | |
| school_url | No | ||
| school_name | No | ||
| continue_url | No | Shareable Extralingo URL that restores configuration. | |
| configuration | No |