railway-mcp

by jason-tan-swe
Verified

volume_create

[API] Create a new persistent volume for a service

⚡️ Best for: ✓ Setting up database storage ✓ Configuring persistent data ✓ Adding file storage

⚠️ Not for: × Temporary storage needs × Static file hosting × Memory caching

→ Prerequisites: service_list

→ Next steps: volume_list

→ Related: service_update, database_deploy

Input Schema

NameRequiredDescriptionDefault
environmentIdYesID of the environment for the volume (usually obtained from service_info)
mountPathYesPath where the volume should be mounted in the container
projectIdYesID of the project containing the service
serviceIdYesID of the service to attach volume to

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "environmentId": { "description": "ID of the environment for the volume (usually obtained from service_info)", "type": "string" }, "mountPath": { "description": "Path where the volume should be mounted in the container", "type": "string" }, "projectId": { "description": "ID of the project containing the service", "type": "string" }, "serviceId": { "description": "ID of the service to attach volume to", "type": "string" } }, "required": [ "projectId", "environmentId", "serviceId", "mountPath" ], "type": "object" }