environment_pr
Turn on or off an Environment per GitHub pull request, built from this Environment. This call asks no human.
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": {
"enabled": "<enabled>"
},
"name": "environment_pr"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| enabled | Yes | true to build an Environment for each pull request, false to stop. | |
| project | No | Project name. | |
| repository | No | GitHub repository owner/name whose pull requests get Environments. Omit when the Project has one. | |
| environment | No | Environment name, e.g. staging. | |
| expect_revision | No | Writes only if the place is still at this revision. |