browser_focus
Focuses a webpage element by CSS selector, ensuring it is targeted and ready for browser automation interactions.
Instructions
聚焦元素
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_focus"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selector | Yes |