get_environment_urls
Retrieve public URLs of a Magento Cloud environment by providing the project ID and environment name. Optionally, return only the primary route.
Instructions
Get the public URLs of a Magento Cloud environment
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_urls"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| primary | No | Only return the URL for the primary route | |
| project | Yes | The Magento Cloud project ID | |
| environment | Yes | The environment name, e.g. 'staging', 'production' |