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

NameTypeRequiredDescription
request_idstringYesUnique mutation ID. Reuse only to replay identical arguments.
site_iduuidYesSite UUID from list_sites.
designobjectYesFULL 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

NameType
site_iduuid
has_unpublished_changesboolean
idempotency_replayfalse

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.