List Railway Variables
list-variablesDisplay environment variables for active Railway projects to manage configuration settings across services and deployments.
Instructions
Show variables for the active environment
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": {
"workspacePath": "<workspacePath>"
},
"name": "list-variables"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspacePath | Yes | The path to the workspace to list variables from | |
| service | No | The service to show variables for (optional) | |
| environment | No | The environment to show variables for (optional) | |
| kv | No | Show variables in KV format (optional) | |
| json | No | Output in JSON format (optional) |