get_environment_relationships
Retrieve service relationships (database, Redis, OpenSearch, RabbitMQ) for a Magento Cloud environment. Get connection details including host, port, username, password, and URL via SSH.
Instructions
Get the service relationships (database, redis, opensearch, rabbitmq, etc.) for a Magento Cloud environment via SSH. Returns connection details including host, port, username, password and URL for each service.
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": {
"project": "<project>",
"environment": "<environment>"
},
"name": "get_environment_relationships"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project | Yes | The Magento Cloud project ID | |
| environment | Yes | The environment name, e.g. 'staging', 'production' |