Skip to main content
Look up which project and environment a custom domain belongs to. Used for JIT rendering of production sites.

Tool details

FieldValue
Nameget_project_by_domain
GroupDomains

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "domain": {
      "type": "string",
      "description": "Custom domain to look up (e.g., mysite.com)"
    }
  },
  "required": [
    "domain"
  ],
  "additionalProperties": false,
  "description": "Input schema for the get_project_by_domain tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "project_id": {
      "type": "string",
      "description": "Project identifier associated with this result."
    },
    "project_slug": {
      "type": "string",
      "description": "The project slug associated with this tool result."
    },
    "project_name": {
      "type": "string",
      "description": "The project name associated with this tool result."
    },
    "environment_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The environment id associated with this tool result."
    },
    "environment_name": {
      "type": [
        "string",
        "null"
      ],
      "description": "The environment name associated with this tool result."
    },
    "release_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "Release identifier associated with this result."
    }
  },
  "required": [
    "project_id",
    "project_slug",
    "project_name",
    "environment_id",
    "environment_name",
    "release_id"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the get_project_by_domain tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}