Access and gates
set_gate_draft_design
Replace the site's DRAFT gate design without changing what visitors see (FULL REPLACE, not a merge). Same draft the Sentway Gate Designer edits. Visitors keep the published design until publish_gate_design runs; discard_gate_draft throws the draft away. Logo and background filenames must come from gate-asset uploads for the SAME site. 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. |
| design | object | Yes | FULL REPLACEMENT of the DRAFT gate design: a complete canonical GateDesignV1, or {} for Sentway's default. Visitors keep the published design until publish_gate_design runs. |
Returns
| Name | Type |
|---|---|
| site_id | uuid |
| has_unpublished_changes | boolean |
| idempotency_replay | false |
Using it
set_gate_draft_design 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.