# list_enum_options

Source: https://modulify.ai/docs/mcp/database/list-enum-options

Lists every value a database enum type accepts.

- Title: List the values an enum column accepts
- Scope: `data:read`
- Access: Read only

A column whose type is an enum refuses anything outside this list, so read it before writing that column with `create_row` or `update_row`. `get_collection_schema` names the enum type of each such column in its `udtName`.

Only a site on the older database, which is Postgres, has enum types, so on the newer database this always answers with an empty list. A type name that does not exist is not refused either: the call succeeds with an empty list, so on the older database an empty result usually means the name was mistyped. See [On the older database](https://modulify.ai/docs/data/column-types#on-the-older-database).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |
| `enumType` | string | Yes | The enum type name, from `get_collection_schema`. |