create_volume
Create a persistent volume and attach it to a Railway service by specifying project, environment, service, and mount path.
Instructions
Create a persistent volume attached to a service
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"projectId": "<projectId>",
"environmentId": "<environmentId>",
"serviceId": "<serviceId>",
"mountPath": "<mountPath>"
},
"name": "create_volume"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mountPath | Yes | Mount path inside the container (e.g. '/data') | |
| projectId | Yes | The project ID | |
| serviceId | Yes | The service ID to attach the volume to | |
| environmentId | Yes | The environment ID |