Link Environment
link-environmentLink a workspace to a specific Railway environment or list available environments for selection to manage deployments and configurations.
Instructions
Link to a specific Railway environment. If no environment is specified, it will list available environments for selection.
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>",
"environmentName": "<environmentName>"
},
"name": "link-environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspacePath | Yes | The path to the workspace to link the environment to | |
| environmentName | Yes | The environment name to link to |