service_update
Modify service configurations such as resource limits, deployment settings, and build commands in the Railway MCP server. Ensure updates align with prerequisites for smooth deployment integration.
Instructions
[API] Update a service's configuration
⚡️ Best for: ✓ Changing service settings ✓ Updating resource limits ✓ Modifying deployment configuration
⚠️ Not for: × Updating environment variables (use variable_set) × Restarting services (use service_restart) × Triggering new deployments (use deployment_trigger)
→ Prerequisites: service_list, service_info
→ Next steps: deployment_trigger
→ Related: service_restart, variable_set
Input Schema
Name | Required | Description | Default |
---|---|---|---|
buildCommand | No | Optional: Command to build the service | |
environmentId | Yes | ID of the environment to update (usually obtained from service_info) | |
healthcheckPath | No | Optional: Path for health checks | |
numReplicas | No | Optional: Number of service replicas to run | |
projectId | Yes | ID of the project containing the service | |
region | No | Optional: Region to deploy the service in | |
rootDirectory | No | Optional: Root directory containing the service code | |
serviceId | Yes | ID of the service to update | |
sleepApplication | No | Optional: Whether to enable sleep mode | |
startCommand | No | Optional: Command to start the service |