Railway

service_update

[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

Remote mh8974/railway-mcp

Remote (network-hosted)

Other tools also called service_update? See providers with this name

Input Schema


            {
  "type": "object",
  "properties": {
    "region": {
      "enum": [
        "asia-southeast1",
        "asia-southeast1-eqsg3a",
        "europe-west4",
        "europe-west4-drams3a",
        "us-east4",
        "us-east4-eqdc4a",
        "us-west1",
        "us-west2"
      ],
      "type": "string",
      "description": "Optional: Region to deploy the service in"
    },
    "projectId": {
      "type": "string",
      "description": "ID of the project containing the service"
    },
    "serviceId": {
      "type": "string",
      "description": "ID of the service to update"
    },
    "numReplicas": {
      "type": "number",
      "description": "Optional: Number of service replicas to run"
    },
    "buildCommand": {
      "type": "string",
      "description": "Optional: Command to build the service"
    },
    "startCommand": {
      "type": "string",
      "description": "Optional: Command to start the service"
    },
    "environmentId": {
      "type": "string",
      "description": "ID of the environment to update (usually obtained from service_info)"
    },
    "rootDirectory": {
      "type": "string",
      "description": "Optional: Root directory containing the service code"
    },
    "healthcheckPath": {
      "type": "string",
      "description": "Optional: Path for health checks"
    },
    "sleepApplication": {
      "type": "boolean",
      "description": "Optional: Whether to enable sleep mode"
    }
  }
}
          

Provider

Railway →