domain_list
Retrieve and manage service and custom domain configurations using the domain_list tool on railway-mcp. Ideal for auditing, viewing endpoints, and updating domain settings efficiently.
Instructions
[API] List all domains (both service and custom) for a service
⚡️ Best for: ✓ Viewing service endpoints ✓ Managing domain configurations ✓ Auditing domain settings
→ Prerequisites: service_list
→ Next steps: domain_create, domain_update
→ Related: service_info, tcp_proxy_list
Input Schema
| Name | Required | Description | Default | 
|---|---|---|---|
| environmentId | Yes | ID of the environment that the service is in to list domains from (usually obtained from service_list) | |
| projectId | Yes | ID of the project containing the service | |
| serviceId | Yes | ID of the service to list domains for | 
Input Schema (JSON Schema)
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "environmentId": {
      "description": "ID of the environment that the service is in to list domains from (usually obtained from service_list)",
      "type": "string"
    },
    "projectId": {
      "description": "ID of the project containing the service",
      "type": "string"
    },
    "serviceId": {
      "description": "ID of the service to list domains for",
      "type": "string"
    }
  },
  "required": [
    "projectId",
    "environmentId",
    "serviceId"
  ],
  "type": "object"
}