set_train_schedule
Assign a train to a route by specifying stops and wait conditions, then switch it to automatic mode.
Instructions
Set a train's schedule (existing stop names with wait conditions) and switch it to automatic.
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": {
"train_id": "<train_id>",
"stops": "<stops>"
},
"name": "set_train_schedule"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| stops | Yes | ||
| train_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |