Tools
This is a reference catalogue. Tools cannot be configured or run from this page.
Delete workspace
RAILWAY_DELETE_WORKSPACEDelete a Railway workspace and all data associated with it. This action uses the `workspaceDelete` GraphQL mutation to permanently remove a workspace. Use this action when you need to permanently delete a workspace that is no longer needed. This action is irreversible — once deleted, the workspace and all its associated projects, environments, and data cannot be recovered.
Deploy Cloud Agent
RAILWAY_DEPLOY_CLOUD_AGENTBuild the agent's code inside its own VM and deploy it. Creates the named service (default: the agent's name) or reuses it. Needs an agent booted with the builder.
Deploy Environment Triggers
RAILWAY_DEPLOY_ENVIRONMENT_TRIGGERSDeploys all connected triggers for an environment.
Deploy Github Repo
RAILWAY_DEPLOY_GITHUB_REPODeploys a GitHub repo
Deploy Service
RAILWAY_DEPLOY_SERVICEStart a Railway deployment from a service's already connected repository or image source, optionally at a repository commit SHA, and return the deployment ID. This action cannot access or upload local files; connect the source to the service before calling it.
Deploy Service Instance
RAILWAY_DEPLOY_SERVICE_INSTANCEDeploy a service instance
Deploy Template
RAILWAY_DEPLOY_TEMPLATEDeploy a complete Railway template configuration into a new project or an existing project environment. Railway commits the template changes and starts their deployments.
Destroy Sandbox
RAILWAY_DESTROY_SANDBOXDestroy a Railway sandbox by ID in an environment. This is destructive: the sandbox can no longer run commands and requires confirm=true. Returns nullable sandbox lifecycle metadata; the returned status may reflect destruction still in progress.
Detach Access Group Project
RAILWAY_DETACH_ACCESS_GROUP_PROJECTDetach a project from an access group. This is destructive and requires confirm=true.
Disable PITR For Ha Cluster
RAILWAY_DISABLE_PITR_FOR_HA_CLUSTERDisables point-in-time recovery on an HA database cluster with the same rolling rollout as enable. The backup bucket is left intact, so existing backup history is preserved.
Disable Service Cdn
RAILWAY_DISABLE_SERVICE_CDNDisables CDN for a service, soft-deleting the edge config.
Disconnect Service
RAILWAY_DISCONNECT_SERVICEDisconnect a service from a repo This is destructive and requires confirm=true.
Disconnect Discord account
RAILWAY_DISCONNECT_USER_DISCORDDisconnects the authenticated user's Railway account from Discord. Use when you need to unlink a Discord account that was previously connected to Railway for notifications, authentication, or team management. This action is irreversible for the disconnect operation — the user must manually reconnect through the Railway dashboard or Discord OAuth flow if needed.
Dismiss Service Instance Vuln Remediation
RAILWAY_DISMISS_SERVICE_INSTANCE_VULN_REMEDIATIONDismiss a pending database security update and cancel its scheduled redeploy.
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.
Estimate Volume Point In Time Restore
RAILWAY_ESTIMATE_VOLUME_POINT_IN_TIME_RESTOREEstimate disk space needed for a Railway volume point-in-time restore at a target timestamp, optionally using a specific backup history. Returns base backup label, data/WAL/scratch sizes in MB, plan maximum size and a likely-to-fit Boolean. Returns estimate:null when unavailable. This is a conservative estimate, not a recovery guarantee. Read-only: does not restore, provision or change billing.
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.
Force Delete Project Schedule
RAILWAY_FORCE_DELETE_PROJECT_SCHEDULEForce delete a scheduled deletion of a project (skips the grace period) This is destructive and requires confirm=true.