# Dataset

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

> dataset: 7 operations.

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

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

|               |                                                                                                                                                                                                              |
| ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Tool**      | `dataset`                                                                                                                                                                                                    |
| **Address**   | `https://api.hanzo.ai/v1/mcp`                                                                                                                                                                                |
| **Method**    | `tools/call` (JSON-RPC 2.0)                                                                                                                                                                                  |
| **Arguments** | 2, 1 required                                                                                                                                                                                                |
| **Operation** | `POST /v1/dataset` · `GET /v1/dataset/{name}` · `GET /v1/dataset/{name}/lineage` · `GET /v1/dataset` · `DELETE /v1/dataset/{name}` · `GET /v1/dataset/{name}/export` · `POST /v1/dataset/{name}/materialize` |
| **Product**   | [dataset](https://docs.hanzo.ai/docs/openapi/dataset)                                                                                                                                                        |

## 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": "dataset",
         "arguments": {
           "op": "<op>"
         }
       }
     }'
```

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

`dataset` dispatches to 7 operations.

| Operation                | Route                                 | Product                                               | Summary                                                                           |
| ------------------------ | ------------------------------------- | ----------------------------------------------------- | --------------------------------------------------------------------------------- |
| `riskCreateDataset`      | `POST /v1/dataset`                    | [dataset](https://docs.hanzo.ai/docs/openapi/dataset) | Declare the next version of a dataset                                             |
| `riskDataset`            | `GET /v1/dataset/{name}`              | [dataset](https://docs.hanzo.ai/docs/openapi/dataset) | Describe every version of one dataset                                             |
| `riskDatasetLineage`     | `GET /v1/dataset/{name}/lineage`      | [dataset](https://docs.hanzo.ai/docs/openapi/dataset) | Show where a version's rows came from, and whether that can still be demonstrated |
| `riskDatasets`           | `GET /v1/dataset`                     | [dataset](https://docs.hanzo.ai/docs/openapi/dataset) | List this org's datasets                                                          |
| `riskDeleteDataset`      | `DELETE /v1/dataset/{name}`           | [dataset](https://docs.hanzo.ai/docs/openapi/dataset) | Dispose of one dataset and every version of it                                    |
| `riskExportDataset`      | `GET /v1/dataset/{name}/export`       | [dataset](https://docs.hanzo.ai/docs/openapi/dataset) | Read a version's rows back, one page at a time                                    |
| `riskMaterializeDataset` | `POST /v1/dataset/{name}/materialize` | [dataset](https://docs.hanzo.ai/docs/openapi/dataset) | Materialise the declared version into immutable rows                              |

The same capability over plain HTTP is in the [dataset API reference](https://docs.hanzo.ai/docs/openapi/dataset), 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.
