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, you hand it back first in the pane; on a signed-in page, that takeover needs your approval at every security level. See Browser and preview.

Parameters

ParameterTypeDetails
accept
Accept
booleantrue accepts the open dialog, false dismisses it (default true).
prompt_text
Prompt text
stringThe answer for an open prompt dialog, used only when accepting.
serverId
Server ID
stringServer ID

Edit this page on GitHub