How far ahead to book this route
when_to_bookHow many days before departure this route has historically been cheapest, from our own observations. Answers "am I booking too early or too late?".
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": {
"origin": "<origin>",
"destination": "<destination>"
},
"name": "when_to_book"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| origin | Yes | Origin CITY NAME, e.g. "Milan". Airport codes are not accepted. | |
| destination | Yes | Destination CITY NAME, e.g. "Tokyo". Airport codes are not accepted. |