> For the complete documentation index, see [llms.txt](https://docs.edgetag.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.edgetag.io/mcp/tools/domains.md).

# domains

List all domains (tags) that you have access to, along with their channels and metadata.

This is the second tool you should call after `me`. It returns the IDs you need for every other tool: `domainId` (also called `tagId`), `teamId`, and channel information including `channelId` and `providerId`.

### Parameters

This tool takes no parameters.

### Output

Returns a list of domains, each containing:

* **domainId** (tagId) - Unique identifier for the domain
* **teamId** - The team this domain belongs to
* **domain** - The website URL
* **channels** - List of integrations configured for this domain, each with:
  * **channelId** - Unique identifier for the channel
  * **channelName** - Display name
  * **providerId** - The provider type (e.g., `facebook`, `klaviyo`, `edgeLake`, `consentIQ`)

### Finding the right channel

Different tools require channels with specific `providerId` values:

| Tool category   | Required providerId |
| --------------- | ------------------- |
| Edge Lake tools | `edgeLake`          |
| ConsentIQ tools | `consentIQ`         |
| Meta EMQ        | `facebook`          |

### Example

> "Show me all my domains and their channels"

The AI assistant will call `domains` and display a structured list of all your tracked websites with their integrations.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.edgetag.io/mcp/tools/domains.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
