railway-mcp

by jason-tan-swe
Verified

service_restart

[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

NameRequiredDescriptionDefault
environmentIdYesID of the environment where the service should be restarted (usually obtained from service_info)
serviceIdYesID of the service to restart

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "environmentId": { "description": "ID of the environment where the service should be restarted (usually obtained from service_info)", "type": "string" }, "serviceId": { "description": "ID of the service to restart", "type": "string" } }, "required": [ "serviceId", "environmentId" ], "type": "object" }