List Managed Environment Variables
managed_variables_listLists the environment variables Meridian itself injects into an
environment's runtime at deploy time: SHOPIFY_API_KEY,
SHOPIFY_API_SECRET, SHOPIFY_APP_URL (the environment's Meridian
address), the MERIDIAN_* platform identifiers, and the managed
database DB_* set. These are NOT in the app's repository and
NOT returned by secrets_list, but they are readable from the process
environment at runtime, so read this before writing code that reads a
variable or before adding one the platform already provides.
Each entry has name, secret (true when the value is mounted from
Secret Manager), source (sdk_credentials, platform or
database), and the two directions a name collision with a declared
variable can resolve in: overridden: the app's own variable wins and
the injected one is skipped; shadows_user_variable: this one is
injected unconditionally and the app's variable of that name never
reaches the runtime, so setting it has no effect (the MERIDIAN_*
identifiers). override_value says, for an overridden entry,
whether the app's variable holds the same value as the managed one
(same, different, or unknown when the values cannot be
compared), and is null when nothing overrides the entry. Only the
Shopify pair and NODE_ENV are compared, reading two secrets at most,
the Shopify pair first. Remove an override with secrets_unset.
VALUES ARE NEVER RETURNED, for managed or declared variables alike;
read them in the Meridian dashboard. Only variables whose injection
conditions currently hold are listed, so an environment with no
database reports no DB_* entries.
Takes the app_id from apps_list and the environment_id from
environments_list.
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": {
"app_id": "<app_id>",
"environment_id": "<environment_id>"
},
"name": "managed_variables_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app uuid returned by `apps_list`. | |
| environment_id | Yes | The environment to inspect, from `environments_list`. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. |