
# tdx schema

Print the command tree.

**Runs locally**

Print the serializable command schema, including inherited global flags, help fields and the fixed exit-code registry.

```bash
tdx schema [flags]
```

**Output fields** (inside `data`)

| Field | Type | Description |
|---|---|---|
| `schema` | command-schema | Complete serializable command contract. |

Every command also takes the [global flags](/cli/reference#global-flags) and reads the [environment variables](/cli/reference#environment-variables) that the command reference lists once.
