browser_handle_dialog
ActiveTool of io.github.saloprj/dialogbrain
Respond to a pending JS dialog (alert/confirm/prompt). Pass accept=true for OK or false for Cancel. For prompt() dialogs also pass prompt_text. Dialogs are queued at page-open time; returns {pending: false} if none is waiting.
Parameters schema
{
"type": "object",
"title": "tool_handle_dialogArguments",
"required": [
"page_id",
"accept"
],
"properties": {
"accept": {
"type": "boolean",
"title": "Accept"
},
"page_id": {
"type": "string",
"title": "Page Id"
},
"prompt_text": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Prompt Text",
"default": null
}
}
}Parent server
io.github.saloprj/dialogbrain
https://github.com/saloprj/dialogbrain-mcp
1/7 registries