Tool details
| Field | Value |
|---|---|
| Name | list_environment_variables |
| Group | Environments |
Playground
Input schema
Input schema
{
"type": "object",
"properties": {
"project_reference": {
"type": "string",
"description": "Project ID or slug"
},
"environment": {
"type": "string",
"description": "Environment name (e.g., production, preview) or ID"
}
},
"required": [
"project_reference",
"environment"
],
"additionalProperties": false,
"description": "Input schema for the list_environment_variables tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}
Output schema
Output schema
{
"type": "object",
"properties": {
"environment_id": {
"type": "string",
"description": "The environment id associated with this tool result."
},
"environment_name": {
"type": "string",
"description": "The environment name associated with this tool result."
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the returned record."
},
"key": {
"type": "string",
"description": "The key associated with this tool result."
},
"value": {
"type": "string",
"description": "The value associated with this tool result."
}
},
"required": [
"id",
"key",
"value"
],
"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": [
"environment_id",
"environment_name",
"data",
"page_info"
],
"additionalProperties": false,
"description": "Structured result returned by the list_environment_variables tool.",
"$schema": "http://json-schema.org/draft-07/schema#"
}