Retrieve environment variable
render_retrieve_env_group_env_varRetrieves a designated environment variable from an environment group on Render via the Public API, giving direct access to configuration values.
Instructions
Retrieve environment variable. Retrieve a particular environment variable in a particular environment group. Calls GET /env-groups/{envGroupId}/env-vars/{envVarKey} on the Render Public API.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"envGroupId": "<envGroupId>",
"envVarKey": "<envVarKey>"
},
"name": "render_retrieve_env_group_env_var"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envVarKey | Yes | The name of the environment variable | |
| envGroupId | Yes | Filter for resources that belong to an environment group |