discard
Return all Staged changes, or one Service, Volume or Config, to deployed. A named one differing only from saved returns to saved. This call asks no human.
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": "discard"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | No | Only this Config. | |
| volume | No | Only this Volume. | |
| project | No | Project name. | |
| service | No | Only this Service. Omit service, volume and config for everything. | |
| environment | No | Environment name, e.g. staging. | |
| expect_revision | No | Writes only if the place is still at this revision. |