Check and score an itinerary
score_itineraryEvaluates a trip version out of 100 and reports blockers and warnings. Runs checks first if none exist.
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": {
"trip_id": "<trip_id>"
},
"name": "score_itinerary"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip_id | Yes | ||
| version | No | ||
| include_rubric | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trip | No | ||
| rubric | Yes | ||
| accepted | No | ||
| blockers | Yes | ||
| warnings | Yes | ||
| next_action | No | ||
| preferences | No | ||
| couldnt_check | No | ||
| more_blockers | Yes | ||
| more_warnings | Yes | ||
| provenance_rules | No | Facts are sourced, unverified, stale or not_checked. Prices are live, estimate or none; hotel and flight prices are never estimated. | |
| suggestions_count | Yes | ||
| couldnt_check_more | No |