assert_ui
Verifies URL, title, text, selector, console-error budget, or JS expression in an Electron app, returning per-check pass/fail details without throwing on failed checks.
Instructions
Check url/title/text/selector/console-error budget/expression. Returns pass:false with per-check detail (does not throw on a failed check).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "assert_ui"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | No | ||
| targetId | No | ||
| processId | No | Target process ID. Omit if only one app is running. | |
| expression | No | JS expression that must be truthy | |
| urlIncludes | No | ||
| textIncludes | No | ||
| titleIncludes | No | ||
| selectorHidden | No | ||
| maxConsoleErrors | No |