# Channel

URL: https://docs.hanzo.ai/docs/mcp-tools/channel

> channel: 8 operations.

Also for this capability: [API](https://docs.hanzo.ai/docs/openapi/channel) · [CLI](https://docs.hanzo.ai/docs/cli/channel) · **MCP** · [SDKs](https://docs.hanzo.ai/docs/sdks)

channel: 8 operations. Name one in "op" and pass that operation's own arguments in "input". describe returns an operation's input schema.

|               |                                                                                                             |
| ------------- | ----------------------------------------------------------------------------------------------------------- |
| **Tool**      | `channel`                                                                                                   |
| **Address**   | `https://api.hanzo.ai/v1/mcp`                                                                               |
| **Method**    | `tools/call` (JSON-RPC 2.0)                                                                                 |
| **Arguments** | 2, 1 required                                                                                               |
| **Operation** | `GET /v1/channel/agent` · `GET /v1/channel/allowlist` · `GET /v1/channel/inbox` · `GET /v1/channel/pairing` |
| **Product**   | [channel](https://docs.hanzo.ai/docs/openapi/channel)                                                       |

## Arguments

| Field   | Type     | Required | Default | Values | Description                 |
| ------- | -------- | -------- | ------- | ------ | --------------------------- |
| `input` | `object` | —        | —       | —      | arguments for the chosen op |
| `op`    | `string` | **yes**  | —       | —      | —                           |

`tools/list` declares a type, a description, which fields are required and an enumerated value set for each field and nothing further, and every column above is MCP's own. This tool takes an operation name and that operation's arguments, so what the document constrains is what goes inside `input`, field by field, on the operation you name — ask `describe` for that. A `—` means MCP does not constrain the field.

## Call it

A `tools/call` carries every argument in one flat object — nothing binds to a path or a query string. This call carries exactly the arguments the operation requires, so it is the smallest one that can run.

```bash
curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "channel",
         "arguments": {
           "op": "list_channels"
         }
       }
     }'
```

Values are the operation's own defaults and enumerated values where it declares them, and a `<placeholder>` where neither source declares one. `tools/list` needs no credential; `tools/call` does — called without one MCP answers HTTP 200 with a JSON-RPC result whose `isError` is set and whose text says what was missing. [How to get a key →](https://docs.hanzo.ai/docs/mcp-tools#credentials)

## The operation behind it

`channel` dispatches to 8 operations. 4 of them MCP names exactly as the document ids them, and those are below; for the rest MCP has its own verb, which `describe` resolves.

| Operation               | Route                       | Product                                               | Summary                                                                                                                                                                                                                                                                                                     |
| ----------------------- | --------------------------- | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| `get_channel_agent`     | `GET /v1/channel/agent`     | [channel](https://docs.hanzo.ai/docs/openapi/channel) | Returns which agent answers the caller org's channel: the default and every room bound to another agent.                                                                                                                                                                                                    |
| `get_channel_allowlist` | `GET /v1/channel/allowlist` | [channel](https://docs.hanzo.ai/docs/openapi/channel) | Returns the caller org's access policy for one channel: whether DMs are pairing-gated, allowlisted or open, whether group rooms are open, allowlisted or disabled, the config-managed DM and group allow entries, the senders approved through PAIRING (read-only here), and the org's named access groups. |
| `get_channel_inbox`     | `GET /v1/channel/inbox`     | [channel](https://docs.hanzo.ai/docs/openapi/channel) | Returns the messages people have sent to the caller org's connected chat bots, oldest first, in the portable envelope shape every transport normalises into.                                                                                                                                                |
| `get_channel_pairing`   | `GET /v1/channel/pairing`   | [channel](https://docs.hanzo.ai/docs/openapi/channel) | Returns the pairing requests waiting for the caller org to approve — one per person who messaged a connected bot on a channel whose DM policy is "pairing" and who is not allowed yet.                                                                                                                      |

The same capability over plain HTTP is in the [channel API reference](https://docs.hanzo.ai/docs/openapi/channel), on `https://api.hanzo.ai`.

---

[All 120 tools](https://docs.hanzo.ai/docs/mcp-tools/all-tools) · [MCP](https://docs.hanzo.ai/docs/mcp-tools) · [API reference](https://docs.hanzo.ai/docs/openapi)

Generated from `tools/list` on `https://api.hanzo.ai/v1/mcp` — 120 tools captured 2026-09-30.
