Tool details
| Field | Value |
|---|---|
| Name | list_environments |
| Group | Environments |
Playground
Input schema
Input schema
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"limit": {
"type": "number",
"minimum": 1,
"maximum": 100,
"description": "Results per page (max 100)",
"default": 20
},
"cursor": {
"type": "string",
"description": "Pagination cursor"
}
},
"required": [
"project_reference"
],
"additionalProperties": false,
"description": "Input schema for the list_environments tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
Output schema
Output schema
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the returned record."
},
"name": {
"type": "string",
"description": "Human-readable name for the returned record."
},
"project_id": {
"type": "string",
"description": "Project identifier associated with this result."
},
"protected": {
"type": "boolean",
"description": "The protected associated with this tool result."
},
"domains": {
"type": "array",
"items": {
"type": "string",
"description": "One domain item associated with this tool result."
},
"description": "List of domains associated with this tool result."
}
},
"required": [
"id",
"name",
"project_id",
"protected",
"domains"
],
"additionalProperties": false,
"description": "One data item associated with this tool result."
},
"description": "Primary result records returned by the tool."
},
"page_info": {
"type": "object",
"properties": {
"self": {
"type": [
"string",
"null"
],
"description": "Cursor that refers to the current page."
},
"first": {
"type": "object",
"description": "The first associated with this tool result."
},
"next": {
"type": [
"string",
"null"
],
"description": "Cursor for the next page when pagination is available."
},
"prev": {
"type": [
"string",
"null"
],
"description": "Cursor for the previous page when pagination is available."
}
},
"required": [
"self",
"first",
"next",
"prev"
],
"additionalProperties": false,
"description": "Pagination cursor values for traversing the result set."
}
},
"required": [
"data",
"page_info"
],
"additionalProperties": false,
"description": "Structured result returned by the list_environments tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}