Classes, rules and service codes
classes_e_regrasGet CP travel classes, booking horizon, passenger limits and service codes (AP, IC, ...) to choose the right ticket rules before booking a Portuguese train journey.
Instructions
Travel classes, booking horizon (days ahead), passenger limits and the service codes (AP, IC, ...) CP uses.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "classes_e_regras"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||