smartchat

publish_landing_page

Makes the draft the live landing page. Call it without plan_id for the preview and the checks, then again with the plan_id. The page is never offline; the old version can be restored.

Tool namepublish_landing_page
Permissionlanding:publish
readOnlyHintfalse
destructiveHintfalse
idempotentHinttrue
openWorldHinttrue
REST callPUT /v1/landing-page/publication

#What it does

  • Publishes content that other people can see.
  • Needs a confirmation step (a preview first).
  • Safe to repeat with the same idempotency_key.

#Input

The tool takes one flat object. Path, query and body fields of the REST call are merged into it.

NameTypeRequiredDescription
plan_idstringnoPlan ID from the preview call. Without it you get the preview.

Arguments added by the MCP server (see Special arguments)

NameTypeRequiredDescription
idempotency_keystringyesRequired. Unique key for this action, for example a UUID. Same key and arguments within 24 hours: first result, nothing done again. up to 255 characters

#Result

The result has the same content as the REST answer. Lists have at most 50 items per page (default 20); use cursor for the next page.

Errors come back as a tool result with isError: true. The error codes are the ones in Errors.