Deploy to Railway
deployDeploy applications from your current directory to Railway's cloud platform. Configure environment, service, and CI mode options for controlled deployments.
Instructions
Upload and deploy from the current directory. Supports CI mode, environment, and service options.
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": "deploy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| workspacePath | Yes | The path to the workspace to deploy | |
| ci | No | Stream build logs only, then exit (equivalent to setting $CI=true) | |
| environment | No | Environment to deploy to (defaults to linked environment) | |
| service | No | Service to deploy to (defaults to linked service) |