browser_check
Checks or unchecks a checkbox, radio button, or switch with a real CDP click only when the state differs, then reads back and verifies the change.
Instructions
Checks (checked=True) or unchecks (checked=False) a checkbox, a radio button or a role=checkbox/switch with a real CDP click, only if the state differs; the state is read back afterwards (verified, changed). E.g. locator={"role": "checkbox", "name": "I agree"} or {"label": "Newsletter"}.
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": {
"tab_id": "<tab_id>"
},
"name": "browser_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mark | No | ||
| tab_id | Yes | Your tab's id (from browser_new_tab, or a tab adopted with browser_adopt_tab). | |
| checked | No | ||
| locator | No | ||
| selector | No | ||
| timeout_ms | No |