iryo_link
Generates an Iryo booking page link for a given origin, destination and travel date so users can open it, choose options and pay on Iryo's site. No fares are returned.
Instructions
Iryo's own booking page for this trip (YYYY-MM-DD), as a link. Iryo gives no fares through this tool:
hand the link to the user, who opens it and picks and pays there. Does not open a browser.
"Madrid" means all Madrid stations; a warning field flags pairs Iryo is known not to run.
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>",
"date": "<date>"
},
"name": "iryo_link"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | ||
| origin | Yes | ||
| destination | Yes |