get_environment_logs
Read logs from a Magento Cloud environment by specifying project, environment, and log type, such as deploy or error logs.
Instructions
Read logs from a Magento Cloud environment via SSH. Use list_log_types to see available log types.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | The log type to read, e.g. 'deploy', 'error', 'cron' | |
| lines | No | Number of lines to return (optional, defaults to 100) | |
| project | Yes | The Magento Cloud project ID | |
| environment | Yes | The environment name, e.g. 'staging', 'production' |