Skip to main content
Get details of a specific environment

Tool details

FieldValue
Nameget_environment
GroupEnvironments

Playground

Input schema

Input schema
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "environment_id": {
      "type": "string",
      "description": "Environment ID"
    }
  },
  "required": [
    "project_reference",
    "environment_id"
  ],
  "additionalProperties": false,
  "description": "Input schema for the get_environment tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Output schema

Output schema
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the returned record."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name for the returned record."
    },
    "project_id": {
      "type": "string",
      "description": "Project identifier associated with this result."
    },
    "protected": {
      "type": "boolean",
      "description": "The protected associated with this tool result."
    },
    "domains": {
      "type": "array",
      "items": {
        "type": "string",
        "description": "One domain item associated with this tool result."
      },
      "description": "List of domains associated with this tool result."
    }
  },
  "required": [
    "id",
    "name",
    "project_id",
    "protected",
    "domains"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the get_environment tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}