browser_quick_fix
Automatically fix common browser automation problems like missing, invisible, or unclickable elements by trying multiple repair strategies and validating each step.
Instructions
快速修复验证闭环。自动尝试常见修复策略(等待加载、滚动到元素、强制可见、移除遮挡、注入JS等),每步验证是否修复成功。返回修复尝试记录、最终状态、建议的下一步操作。支持批量传入多个 problem。
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"selector": "<selector>"
},
"name": "browser_quick_fix"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| problem | No | 问题描述(单问题模式,与 problems 互斥):not_found(元素未找到)、not_visible(不可见)、not_interactable(不可交互)、click_failed(点击失败)、type_failed(输入失败)、js_error(JS错误)、api_failed(API请求失败)、page_crashed(页面崩溃)、resource_blocked(资源被拦截) | |
| problems | No | 批量问题列表(数组模式,与 problem 互斥):按顺序依次尝试每个 problem 的修复策略 | |
| selector | Yes | 目标元素选择器(必填) | |
| maxAttempts | No | 最大修复尝试次数,默认5 | |
| waitStrategy | No | 等待策略:smart(智能等待)、fixed(固定等待)、none(不等待) | smart |