List environments. Requires project.read.
Arguments
project_referencestringProject ID or slug
cursorstringCursor for pagination: an environment ID from this project. An unknown cursor is rejected.
limitinteger · min 1 · max 100 · default 20Page size, 1 to 100. Defaults to 20.
sort_bystringSort field: "name" or "updated_at". One of
name,updated_at.sort_orderstringSort order: "asc" or "desc". One of
asc,desc.
Responses
curl -X POST -N "https://api.veryfront.com/mcp" \ -H "Authorization: Bearer $VERYFRONT_API_KEY" \ -H "Accept: application/json, text/event-stream" \ -H "Content-Type: application/json" \ -d '{ "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "veryfront__list_environments", "arguments": {} }}'{ "jsonrpc": "2.0", "id": 1, "result": { "content": [ { "type": "text", "text": "{\"data\":[{\"id\":\"00000000-0000-0000-0000-000000000000\",\"name\":\"string\",\"project_id\":\"00000000-0000-0000-0000-000000000000\",\"protected\":false,\"domains\":[\"string\"]}],\"page_info\":{\"self\":\"string\",\"first\":null,\"next\":\"string\",\"prev\":\"string\"}}" } ], "structuredContent": { "data": [ { "id": "00000000-0000-0000-0000-000000000000", "name": "string", "project_id": "00000000-0000-0000-0000-000000000000", "protected": false, "domains": [ "string" ] } ], "page_info": { "self": "string", "first": null, "next": "string", "prev": "string" } } }}The tool ran; its output is result.structuredContent.