Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Eject Template Service Source
RAILWAY_EJECT_TEMPLATE_SERVICE_SOURCEEjects a service from the template and creates a new repo in the provided org.
Enable PITR For Ha Cluster
RAILWAY_ENABLE_PITR_FOR_HA_CLUSTEREnables point-in-time recovery on an HA database cluster (Postgres HA, MySQL HA) with a rolling, near-zero-downtime rollout across its members. Safe to retry.
Enable Service Cdn
RAILWAY_ENABLE_SERVICE_CDNEnables CDN for a service, creating an edge config and attaching all live domains.
Execute Sandbox Command
RAILWAY_EXEC_SANDBOX_COMMANDExecute a command inside a running Railway sandbox in the specified environment. Commands can modify the sandbox. Returns stdout, stderr, exitCode, timedOut and truncated; inspect these fields because successful API execution does not imply a successful or complete command. Do not use to access secrets or raw environment-variable values.
Initiate Project Transfer
RAILWAY_INITIATE_PROJECT_TRANSFERInitiate the transfer of project ownership
Invite Project User
RAILWAY_INVITE_PROJECT_USERInvite a user by email to a project
Mark Notification Deliveries As Read
RAILWAY_MARK_NOTIFICATION_DELIVERIES_AS_READMarks notification deliveries as read
Merge Canvas View
RAILWAY_MERGE_CANVAS_VIEWMerge a canvas layout from one environment into another. Re-computes the merge from current state and applies mutations.
Patch Service Instance Vuln Remediation Now
RAILWAY_PATCH_SERVICE_INSTANCE_VULN_REMEDIATION_NOWApply a pending database security update now (backup, then redeploy). Returns the new deployment id.
Publish Template
RAILWAY_PUBLISH_TEMPLATEPublish or update an existing Railway template in the public template marketplace, where other users can view and deploy it. Set category, description and README, optionally an image, demo project and workspace. A demo project becomes accessible through the public Live Demo link. Publishes the template's existing configuration; ensure that configuration and supplied public text contain no secrets or raw environment-variable values. Returns metadata only, not template configuration.
Recover Cloud Agent Task
RAILWAY_RECOVER_CLOUD_AGENT_TASKRecover the latest task response from the agent. May wake the VM.
Redeploy Service Instance
RAILWAY_REDEPLOY_SERVICE_INSTANCERedeploy a service instance
Rename Cloud Agent Session
RAILWAY_RENAME_CLOUD_AGENT_SESSIONSet a session's title, shown over its generated one. An empty title clears it.
Rename Environment
RAILWAY_RENAME_ENVIRONMENTRename one environment without changing or deploying its configuration.
Rename Private Network Endpoint
RAILWAY_RENAME_PRIVATE_NETWORK_ENDPOINTRename a private network endpoint.
Rename Sandbox Checkpoint
RAILWAY_RENAME_SANDBOX_CHECKPOINTRename a sandbox checkpoint.
Replace Signal
RAILWAY_REPLACE_SIGNALReplace a signal's type and default, clearing all rules. Destructive — intended for CLI --force re-type.
Replace Variables
RAILWAY_REPLACE_VARIABLESReplace the entire Railway shared-environment or service variable collection with the supplied complete map. This is irreversible: every existing variable whose key is omitted from the map is permanently deleted. Railway skips deployments by default; set skip_deploys=false and confirm_deploys=true to explicitly trigger deployments.
Report Cloud Agent State
RAILWAY_REPORT_CLOUD_AGENT_STATEReport the current coding-agent session state.
Resend Project Invitation
RAILWAY_RESEND_PROJECT_INVITATIONResend an invitation for a project