generate-domain
Create a domain for a linked Railway project. If a domain exists, retrieve its URL. Optionally specify a service to generate the domain for, using the workspace path as input.
Instructions
Generate a domain for the currently linked Railway project. If a domain already exists, it will return the existing domain URL. Optionally specify a service to generate the domain for.
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| service | No | The name of the service to generate the domain for (optional) | |
| workspacePath | Yes | The path to the workspace to generate domain for | 
Input Schema (JSON Schema)
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "service": {
      "description": "The name of the service to generate the domain for (optional)",
      "type": "string"
    },
    "workspacePath": {
      "description": "The path to the workspace to generate domain for",
      "type": "string"
    }
  },
  "required": [
    "workspacePath"
  ],
  "type": "object"
}