mt_travel_verify
Verifies travel bookings against a TravelAgentCredential, checking agent identity, segment authorization, spend limits, currency, trust score, and traveler binding to approve or reject the booking.
Instructions
Verify a travel booking against a TravelAgentCredential.
Runs a 10-step verification pipeline: VC signature, expiry, agent DID match, segment authorization, spend limit, currency, daily cap, trust score, delegation chain, and traveler binding.
Args: agent_did: DID of the booking agent (e.g. "did:base:0x...") vc_json: The TravelAgentCredential as a JSON string merchant: Merchant domain (e.g. "hilton.com") segment: Booking segment: hotel, flight, car_rental, or rail amount: Booking amount currency: Currency code (e.g. "USDC")
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": {
"agent_did": "<agent_did>",
"vc_json": "<vc_json>",
"merchant": "<merchant>",
"segment": "<segment>",
"amount": "<amount>",
"currency": "<currency>"
},
"name": "mt_travel_verify"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Booking amount | |
| segment | Yes | Booking segment: hotel, flight, car_rental, or rail | |
| vc_json | Yes | The TravelAgentCredential as a JSON string | |
| currency | Yes | Currency code (e.g. "USDC") | |
| merchant | Yes | Merchant domain (e.g. "hilton.com") | |
| agent_did | Yes | DID of the booking agent (e.g. "did:base:0x...") |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |