veryfront__list_environments
Requires project.read.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Read-only.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug |
cursor | string | No | Cursor for pagination: an environment ID from this project. An unknown cursor is rejected. |
limit | integer | No | Page size, 1 to 100. Defaults to 20. Default: 20. Minimum: 1. Maximum: 100. |
sort_by | string | No | Sort field: "name" or "updated_at". Values: "name", "updated_at". |
sort_order | string | No | Sort order: "asc" or "desc". Values: "asc", "desc". |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__list_environments",7 "arguments": {}8 }9}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
data | object[] | Yes | Primary result records returned by the tool. |
page_info | object | Yes | Pagination cursor values for traversing the result set. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug"7 },8 "cursor": {9 "type": "string",10 "description": "Cursor for pagination: an environment ID from this project. An unknown cursor is rejected."11 },12 "limit": {13 "type": "integer",14 "minimum": 1,15 "maximum": 100,16 "description": "Page size, 1 to 100. Defaults to 20.",17 "default": 2018 },19 "sort_by": {20 "type": "string",21 "enum": [22 "name",23 "updated_at"24 ],25 "description": "Sort field: \"name\" or \"updated_at\"."26 },27 "sort_order": {28 "type": "string",29 "enum": [30 "asc",31 "desc"32 ],33 "description": "Sort order: \"asc\" or \"desc\"."34 }35 },36 "additionalProperties": false,37 "description": "Arguments for the list_environments tool.",38 "$schema": "http://json-schema.org/draft-07/schema#"39}output-schema.json
1{2 "type": "object",3 "properties": {4 "data": {5 "type": "array",6 "items": {7 "type": "object",8 "properties": {9 "id": {10 "type": "string",11 "format": "uuid",12 "description": "Unique identifier for the returned record."13 },14 "name": {15 "type": "string",16 "description": "Human-readable name for the returned record."17 },18 "project_id": {19 "$ref": "#/properties/data/items/properties/id",20 "description": "Project identifier associated with this result."21 },22 "protected": {23 "type": "boolean"24 },25 "domains": {26 "type": "array",27 "items": {28 "type": "string"29 },30 "description": "Custom domains attached to the environment."31 }32 },33 "required": [34 "id",35 "name",36 "project_id",37 "protected",38 "domains"39 ],40 "additionalProperties": false41 },42 "description": "Primary result records returned by the tool."43 },44 "page_info": {45 "type": "object",46 "properties": {47 "self": {48 "type": [49 "string",50 "null"51 ],52 "description": "Cursor that refers to the current page."53 },54 "first": {55 "type": "null"56 },57 "next": {58 "type": [59 "string",60 "null"61 ],62 "description": "Cursor for the next page when pagination is available."63 },64 "prev": {65 "type": [66 "string",67 "null"68 ],69 "description": "Cursor for the previous page when pagination is available."70 }71 },72 "required": [73 "self",74 "first",75 "next",76 "prev"77 ],78 "additionalProperties": false,79 "description": "Pagination cursor values for traversing the result set."80 }81 },82 "required": [83 "data",84 "page_info"85 ],86 "additionalProperties": false,87 "description": "Structured result returned by the list_environments tool.",88 "$schema": "http://json-schema.org/draft-07/schema#"89}