List environment domains

veryfront__list_domains

Requires project.read.

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Read-only.

Arguments

FieldTypeRequiredDescription and constraints
project_referencestringNoProject ID or slug
environment_idstringYesEnvironment ID
cursorstringNoPagination cursor: a domain ID in this environment. An unknown cursor is rejected.
limitintegerNoResults per page, 1 to 100. Defaults to 20. Default: 20. Minimum: 1. Maximum: 100.
sort_bystringNoSort field. "name" sorts by the domain name, "updated_at" by the domain update timestamp. Values: "name", "updated_at".
sort_orderstringNoSort order: "asc" or "desc". Values: "asc", "desc".

Example request

Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_domains",
    "arguments": {
      "environment_id": "example"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
dataobject[]YesPrimary result records returned by the tool.
page_infoobjectYesPagination cursor values for traversing the result set.

Full schemas

json
{
  "type": "object",
  "properties": {
    "project_reference": {
      "type": "string",
      "description": "Project ID or slug"
    },
    "environment_id": {
      "type": "string",
      "description": "Environment ID"
    },
    "cursor": {
      "type": "string",
      "description": "Pagination cursor: a domain ID in this environment. An unknown cursor is rejected."
    },
    "limit": {
      "type": "integer",
      "minimum": 1,
      "maximum": 100,
      "description": "Results per page, 1 to 100. Defaults to 20.",
      "default": 20
    },
    "sort_by": {
      "type": "string",
      "enum": [
        "name",
        "updated_at"
      ],
      "description": "Sort field. \"name\" sorts by the domain name, \"updated_at\" by the domain update timestamp."
    },
    "sort_order": {
      "type": "string",
      "enum": [
        "asc",
        "desc"
      ],
      "description": "Sort order: \"asc\" or \"desc\"."
    }
  },
  "required": [
    "environment_id"
  ],
  "additionalProperties": false,
  "description": "Arguments for the list_domains tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}
json
{
  "type": "object",
  "properties": {
    "data": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "format": "uuid",
            "description": "Unique identifier for the returned record."
          },
          "domain": {
            "type": "string"
          },
          "environment_id": {
            "$ref": "#/properties/data/items/properties/id",
            "description": "The environment id returned by the tool."
          },
          "project_id": {
            "$ref": "#/properties/data/items/properties/id",
            "description": "Project identifier associated with this result."
          },
          "created_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Creation timestamp in ISO 8601 format."
          },
          "updated_at": {
            "type": [
              "string",
              "null"
            ],
            "description": "Last update timestamp in ISO 8601 format."
          }
        },
        "required": [
          "id",
          "domain",
          "environment_id",
          "project_id",
          "created_at",
          "updated_at"
        ],
        "additionalProperties": false
      },
      "description": "Primary result records returned by the tool."
    },
    "page_info": {
      "type": "object",
      "properties": {
        "self": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor that refers to the current page."
        },
        "first": {
          "type": "null"
        },
        "next": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the next page when pagination is available."
        },
        "prev": {
          "type": [
            "string",
            "null"
          ],
          "description": "Cursor for the previous page when pagination is available."
        }
      },
      "required": [
        "self",
        "first",
        "next",
        "prev"
      ],
      "additionalProperties": false,
      "description": "Pagination cursor values for traversing the result set."
    }
  },
  "required": [
    "data",
    "page_info"
  ],
  "additionalProperties": false,
  "description": "Structured result returned by the list_domains tool.",
  "$schema": "http://json-schema.org/draft-07/schema#"
}