Read an environment
get_environmentAn environment, by view: variables, the names of its variables and secrets (never the values); domains, its domains and their DNS proof; links, its access links (never the link); backups, the last 50 backups of a database (their id for restore_backup); queues, its queues and their state; cdn, its CDN (the zone of each service, the state of each address, the PoPs' traffic).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_environment"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| view | No | The view returned. | variables |
| trial | No | The key returned by the call that created the trial (deploy_app, upload_source or write_files: trial_key), passed again on each call. | |
| project | No | The project. | |
| database | No | Database name; the first declared by default. | |
| environment | No | Production or a preview. | production |