search_hotels
Find hotel rooms and offers for a city and date range, returning the merchant artifact and payment receipt; each call costs $0.005 in USDC via x402.
Instructions
Search hotel rooms and offers for a city and date range. Costs $0.005 per call, paid in USDC over x402 to x402-hotel-search. Returns the merchant's artifact and the payment receipt.
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": {
"cityCode": "<cityCode>",
"checkIn": "<checkIn>",
"checkOut": "<checkOut>"
},
"name": "search_hotels"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rail | No | Payment rail for this call. Overrides the configured default (auto). auto = whichever rail this agent holds a key for. | |
| adults | No | Guest count, default 2 | |
| checkIn | Yes | YYYY-MM-DD | |
| checkOut | Yes | YYYY-MM-DD | |
| cityCode | Yes | IATA city code, e.g. NYC |