list_environments
List Environments
List all environments in a Railway project (e.g., production, staging). Each environment maintains its own variables, domains, and deployment configurations.
list_environments
List all environments in a Railway project (e.g., production, staging). Each environment maintains its own variables, domains, and deployment configurations.
list_deployments
List deployments for a service in a specific environment. Returns deployment status, URLs, and timestamps. Use this to check deployment history and current status.
create_environment
Create a new environment in a Railway project. Optionally clone from an existing environment to copy its configuration and variables.
update_volume
Rename a persistent storage volume.
delete_environment
Permanently delete an environment from a Railway project. This removes all environment-specific configurations, variables, and domains. This action cannot be undone.
rollback_deployment
Roll back a service to a previous deployment. The target deployment must support rollback (check with Get Deployment). This creates a new deployment based on the specified one.
delete_domain
Remove a domain from a Railway service. Works for both Railway-provided domains and custom domains. Use **isCustom** to specify the domain type.
get_service
Retrieve detailed information about a Railway service, including its environment-specific configuration (build settings, deploy settings, replicas, etc.) when an environment ID is provided.
cancel_deployment
Cancel an in-progress deployment. Use this to stop a build or deploy that is currently running.
create_project
Create a new Railway project. Optionally assign it to a workspace and set a description.
update_service
Update a Railway service's metadata (name, icon) and environment-specific settings (build command, start command, replicas, region, health check, etc.). Provide an environment ID to update environment-specific settings.
set_variables
Create or update one or more environment variables for a service. Provide variables as key-value pairs. Existing variables with the same name will be overwritten. Use **replaceAll** to remove all existing variables and set only the provided ones.
get_domains
List all domains (both Railway-provided and custom) for a service in a specific environment. Includes DNS record status for custom domains.
delete_project
Permanently delete a Railway project and all its services, environments, and deployments. This action cannot be undone.
trigger_deployment
Trigger a new deployment for a service in a specific environment. Optionally provide a commit SHA for a connected GitHub service.
list_volumes
List all persistent storage volumes in a Railway project.
create_volume
Create a new persistent storage volume and attach it to a service. Volumes retain data across deployments. Specify a mount path where the volume will be accessible inside the container.
delete_variable
Delete a specific environment variable from a service in a given environment.
get_project
Retrieve detailed information about a Railway project including its services and environments.
create_domain
Add a domain to a Railway service. Creates either a Railway-provided domain (*.up.railway.app) or attaches a custom domain. For custom domains, DNS records will be provided that must be configured with your DNS provider.
get_variables
Retrieve environment variables for a project and environment. Optionally filter by service to get service-specific variables. Returns the rendered (resolved) variable values.
list_projects
List all Railway projects accessible to the authenticated user. Optionally filter by workspace. Returns project names, descriptions, and timestamps.
get_deployment_logs
Retrieve build or runtime logs for a deployment. Use **logType** to specify whether to get build logs (compilation output) or deploy logs (runtime output).
delete_service
Permanently delete a Railway service. This removes all deployments and configuration for the service. This action cannot be undone.
update_project
Update an existing Railway project's name, description, or settings like public visibility and PR deploy previews.
get_environment
Get detailed information about an environment including its service instances and their latest deployment status.
create_service
Create a new service in a Railway project. Optionally connect it to a GitHub repo or Docker image.
get_deployment
Get detailed information about a specific deployment, including its status, URLs, metadata, and whether it can be redeployed or rolled back.
delete_volume
Permanently delete a persistent storage volume. All data stored on the volume will be lost. This action cannot be undone.
remove_deployment
Remove a Railway deployment from deployment history.
create_volume_backup
Create a backup for a Railway volume instance. Railway returns a workflow ID for the backup job.
list_volume_backups
List backups for a Railway volume instance.
list_regions
List Railway deployment regions. Optionally provide a project ID to include project-specific availability.
check_domain_availability
Check whether a custom domain can be added to Railway.
update_custom_domain
Update settings for a Railway custom domain, such as the target service port.
restart_deployment
Restart a running Railway deployment without rebuilding it.
get_environment_logs
Retrieve recent logs from all services in a Railway environment.
create_tcp_proxy
Create a public TCP proxy for a Railway service instance.
get_volume_instance
Get details for a Railway volume instance in a specific environment, including mount path, size, and state.
get_project_members
List members of a Railway project and their project roles.
get_tcp_proxies
List TCP proxies configured for a Railway service in an environment.
get_http_logs
Retrieve HTTP request logs for a Railway deployment, including request path, status, timings, and edge metadata.
stop_deployment
Stop a running Railway deployment.
get_domain_status
Get DNS and certificate status for a Railway custom domain.
delete_tcp_proxy
Delete a Railway TCP proxy.
rename_environment
Rename a Railway environment.
Deploy and manage web applications, databases, and infrastructure on Railway's cloud platform. Create and configure projects, services, environments, and deployments. Manage environment variables, custom domains, persistent storage volumes, and database services (PostgreSQL, MySQL, MongoDB, Redis). Trigger deployments from GitHub repos or Docker images, monitor deployment status, roll back services, and receive webhook notifications for deployment changes, volume usage, and resource alerts.
Common questions about connecting Railway to AI agents with Metorial.