Access and gates
discard_gate_draft
Throw away the site's unpublished gate design draft and reset it to the published design. Destructive and unrecoverable. Returns discarded=false when there was no draft. Editor role.
Behaviour
- Effect
- Destructive. It can remove or overwrite existing data.
- Repeat calls
- Idempotent. Repeating the same call produces the same result.
- Plan
- Available on every plan, including free.
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| request_id | string | Yes | Unique mutation ID. Reuse only to replay identical arguments. |
| site_id | uuid | Yes | Site UUID from list_sites. |
Returns
| Name | Type |
|---|---|
| site_id | uuid |
| discarded | boolean |
| idempotency_replay | false |
Using it
discard_gate_draft is called by an AI assistant connected to Sentway over MCP, not by hand. Point the assistant at the Sentway MCP endpoint and complete the OAuth flow, and the tool becomes available in the same session as the other 56 Sentway tools. See connecting over MCP.