create_custom_domain
Attach a custom domain to a Railway service. Provide service ID, environment ID, and domain to configure the custom domain for your deployment.
Instructions
Attach a custom domain 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": {
"serviceId": "<serviceId>",
"environmentId": "<environmentId>",
"domain": "<domain>"
},
"name": "create_custom_domain"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| domain | Yes | The custom domain (e.g. 'api.example.com') | |
| serviceId | Yes | The service ID | |
| environmentId | Yes | The environment ID |