> AI agents: this is one page from Mammoth Analytics documentation. The index of all pages as Markdown is https://mammoth.io/docs/llms.txt. Append `.md` to any docs URL, or send `Accept: text/markdown`, to get Markdown.

# mammoth schema

> All 3 mammoth schema commands with examples, arguments and confirmation flags: Find concise command input guidance or fetch full schemas.

> Generated from mammoth-cli 2.4.2, released 2026-11-02: `mammoth schema list`, `mammoth capability list` and the CLI's own `--help`. Do not edit by hand; run `npm run docs:capabilities`.

Find concise command input guidance or fetch full schemas. 3 commands.

Every command also takes the [global flags](https://mammoth.io/docs/build/cli/global-flags/) (`--output`, `--yes`, `--confirm`, `--dry-run`, `--input`, `--profile`, ...), which are not repeated below. `--input` takes a JSON or YAML document of the input fields; `mammoth schema get COMMAND_ID` prints a command's full input schema.

**Confirmation.** Commands marked `--yes --confirm TARGET` or `--yes` always need those flags, even at a terminal: they never prompt. Commands marked "`--yes` or prompt" ask at an interactive terminal (table output, no `--no-input`) and otherwise need `--yes`. `--dry-run` skips confirmation and sends nothing.

## Summary

| Command | What it does | Effect | Confirmation |
|---|---|---|---|
| [`schema find`](#mammoth-schema-find) | — | Read | — |
| [`schema get`](#mammoth-schema-get) | — | Read | — |
| [`schema list`](#mammoth-schema-list) | Command index by family; 'schema list FAMILY' for one family; 'full' for every record. | Read | — |

## schema commands

### mammoth schema find

*The CLI gives this command no description.*

The result leaves out detail you rarely need. Pass --full for all of it.

```bash
mammoth schema find 'view transform'
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `QUERY` | positional | yes | — | `str` | Match command names, examples, or purpose (e.g. view transform). |

- **Effect:** Read, scope `local` · **Confirmation:** none
- **Preconditions:** Required inputs: QUERY.
- **Id:** `schema.find` · **Result:** `SchemaFindResult`

### mammoth schema get

*The CLI gives this command no description.*

```bash
mammoth schema get view.transform.bulk-replace
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `COMMAND_ID` | positional | yes | — | `str` | Command id to fetch the schema for (e.g. view.transform.bulk-replace); join several with commas (view.list,view.analyze) for one result with all of them. |
| `full` | `--input` field | no | `false` | `bool` |  |

- **Effect:** Read, scope `local` · **Confirmation:** none
- **Preconditions:** Required inputs: COMMAND_ID.
- **Id:** `schema.get` · **Result:** `SchemaGetResult`

### mammoth schema list

Command index by family; 'schema list FAMILY' for one family; 'full' for every record.

```bash
mammoth schema list view
```

| Name | Passed as | Required | Default | Type | Notes |
|---|---|---|---|---|---|
| `FAMILY` | positional | no | — | `str` | Command family to list (e.g. view); omit for the family index. Or the `family` input field. |
| `family` | `--input` field | no | — | `str` |  |
| `full` | `--input` field | no | `false` | `bool` |  |

- **Effect:** Read, scope `local` · **Confirmation:** none
- **Id:** `schema.list` · **Result:** `SchemaListResult`

---
Source: https://mammoth.io/docs/build/cli/schema.md · Updated: 2026-11-02
