List Email Merge Variables
emails_variables_listReturns the merge-tag variable catalog an email send can substitute:
built-in tags plus the app's CRM custom fields. Each entry has name,
sample text, and related metadata. Pass optional shop_domain to swap
the store variables' generic samples for that store's real values,
empty where the store has none (unknown stores fall back to samples).
Each variable has sample_source: store when its sample is that
store's own value, placeholder for a generic sample (every variable
without shop_domain, an unknown store, and the contact, event and
custom field variables). With shop_domain, the root also has
store_found (false when Meridian does not know the store).
Takes the app_id returned by apps_list. Requires
emails.view; a store's real values also require crm.merchants.view.
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>"
},
"name": "emails_variables_list"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app_id | Yes | The app uuid returned by `apps_list`. | |
| shop_domain | No | Optional myshopify domain (e.g. "acme.myshopify.com"). When supplied, the store variables show that store's values instead of samples, empty where the store has none. | |
| 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. |