events.capture
Capture transient Toast or overlay events while executing a UI click or no action, with optional selector and regex filter.
Instructions
执行动作同时捕获瞬时 Toast/弹层(Monitor 接线;action=click 可带 selector;expect 为正则过滤)
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": "events.capture"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pkg | No | ||
| action | No | click | |
| expect | No | text/desc 命中正则,缺省收全部瞬态 | |
| timeout | No | ||
| selector | No |