service_restart
Restart a service in a specific environment to apply configuration changes, clear service state, or resolve runtime issues. Use service_restart on railway-mcp for targeted service interruptions without affecting deployments or configurations.
Instructions
[API] Restart a service in a specific environment
⚡️ Best for: ✓ Applying configuration changes ✓ Clearing service state ✓ Resolving runtime issues
⚠️ Not for: × Deploying new code (use deployment_trigger) × Updating service config (use service_update) × Long-term service stoppage (use service_delete)
→ Prerequisites: service_list
→ Alternatives: deployment_trigger
→ Related: service_info, deployment_logs
Input Schema
Name | Required | Description | Default |
---|---|---|---|
environmentId | Yes | ID of the environment where the service should be restarted (usually obtained from service_info) | |
serviceId | Yes | ID of the service to restart |