Preview Travel Text Import
import_parse_text_previewParse pasted travel confirmation text into proposed itinerary segments without saving anything. Use this before creating segments from copied email, PDF, or booking text.
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": {
"text": "<text>"
},
"name": "import_parse_text_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Travel confirmation, booking, or itinerary text to parse: one booking confirmation per call, or a few days of an itinerary. A whole trip page listing many bookings can exceed the 90-second parse limit, so split it. Raw text is used only for parsing and is not echoed back. | |
| trip_id | No | Optional trip ID used only to verify access and give the parser trip context | |
| user_hint | No | Optional user-provided context, such as provider name or expected segment type | |
| max_segments | No | Maximum number of segment previews to return, from 1 to 20. Defaults to 10. |