# veryfront__list_environments

List environments. Requires project.read.

Risk: read\_only.

## Arguments

| Name                | Type    | Required | Description                                                                                |
| ------------------- | ------- | -------- | ------------------------------------------------------------------------------------------ |
| `project_reference` | string  |          | Project ID or slug                                                                         |
| `cursor`            | string  |          | Cursor for pagination: an environment ID from this project. An unknown cursor is rejected. |
| `limit`             | integer |          | Page size, 1 to 100. Defaults to 20.                                                       |
| `sort_by`           | string  |          | Sort field: "name" or "updated\_at".                                                       |
| `sort_order`        | string  |          | Sort order: "asc" or "desc".                                                               |

## Call it

```json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__list_environments",
    "arguments": {}
  }
}
```
