delete_variable
Delete a single environment variable from a Railway service by providing project, environment, and service IDs along with the variable name.
Instructions
Delete a single environment variable
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>",
"name": "<name>"
},
"name": "delete_variable"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The variable name to delete | |
| projectId | Yes | The project ID | |
| serviceId | Yes | The service ID | |
| environmentId | Yes | The environment ID |