Mew. Work. Docs

Built-in tools›Preview

Answer dialog

preview_dialog
Group
Preview
Turned on by
Its own switch on the Tools page of Conversation settings.
Approval
Reviewed: writes and open-ended actions ask for approval unless the security level or an earlier “Always allow” covers them.
Profile key
tool.preview_dialog.description

Accepts or dismisses an alert, confirm or prompt dialog that the conversation's preview page opened.

Only dialogs on the page the model is driving wait for this tool; on a page you are using yourself, you see the dialog and answer it in the pane. While a dialog waits, the page's script is paused at it and the model's other page tools are refused.

When it asks you

Asks at Manual and Accept edits; Always allow is not offered. If you have been using the page yourself, the pane asks you to give it back. If the page is signed in to a site, Mewrk first asks you to approve the takeover, at every security level. See Browser and preview.

Parameters

ParameterTypeDetails
accept
Accept
booleanWeb default true; phone/tablet none (give button or accept).
button
Button
stringPhone/tablet: exact label.
prompt_text
Prompt text
stringWeb: when accepting a prompt. iPhone/iPad: the alert field's text.
serverId
Server ID
stringServer ID