Get Magento Config
get_magento_configRetrieve Magento store configuration values by path pattern, returning inherited default-scope values and status when scoped settings are absent.
Instructions
Reads store configuration from core_config_data using a path LIKE pattern (pathPattern, alias: path). Returns value_status (set/empty/null) and inherited default-scope value when scoped rows are empty.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Alias for pathPattern. | |
| profile | No | Override the MAGENTO_SQL_PROFILE env var for this call only. Use list_connection_profiles to see available names. | |
| magentoRoot | No | Absolute path to the Magento root (must contain app/etc/env.php). Defaults to MAGENTO_ROOT env var or auto-discovery. | |
| pathPattern | No | core_config_data path pattern (SQL LIKE). Examples: 'catalog/%', 'web/unsecure/%'. Alias: path. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | ||
| rows | Yes | ||
| sampled | No | ||
| rowCount | Yes | ||
| truncated | No |