Check a flight against a travel policy
check_policyChecks a selected flight against your travel policy to determine compliance, flag violations, and identify if approval is required.
Instructions
Evaluates a specific flight (by id from the last search_flights call) against a policy JSON file and returns compliance, violations, and whether it needs approval.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flightId | Yes | A flight id returned by search_flights | |
| policyPath | No | Path to the policy JSON file | ./policy.json |