Get one RailCore API endpoint
get_endpointDetails of one RailCore API endpoint: method and URL, parameters, what it costs in requests, the key scope it needs, which plans can use it and whether requests must be signed, response fields and the errors it can answer. Accepts an endpoint id (seat-availability), a method and path (GET /trains/{train_number}/live) or a full URL.
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": {
"endpoint": "<endpoint>"
},
"name": "get_endpoint"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| detail | No | summary (default) or full, which adds response fields and a response example. | |
| endpoint | Yes | An endpoint id (seat-availability), a method and path (GET /availability/seats) or a URL. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| cost | Yes | ||
| notes | Yes | ||
| scope | Yes | ||
| title | Yes | ||
| errors | Yes | ||
| method | Yes | ||
| signing | Yes | ||
| summary | Yes | ||
| docs_url | Yes | ||
| parameters | Yes | ||
| body_fields | No | ||
| description | Yes | ||
| availability | Yes | ||
| markdown_url | Yes | ||
| response_fields | No | ||
| signing_required | Yes | ||
| body_example_json | No | ||
| catalog_generated_at | Yes | ||
| response_example_json | No |