Web Click
web_clickClicks an element on the current page. target is a CSS selector or visible text (resolved fresh each call). Clicks that SUBMIT a form preview first — call again with confirm:true to execute; plain links/buttons click directly. Returns {url, title, navigated, url_as_of}: url_as_of is "settled" when the page has finished changing, and "before_click" together with navigation_pending:true when the click started a navigation that had not finished — in that case url/title are the page BEFORE the click, NOT the destination, so do not read them as 'the click did nothing' and retry (the page is already changing); read the destination with web_read or wait for it with web_wait_for. navigated:false means the click changed no page.
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": {
"target": "<target>"
},
"name": "web_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | CSS selector or visible text of the element to click. | |
| confirm | No | Required (true) to perform a click that submits a form. | |
| session | No | Session name (default 'default'). | |
| remember | No | With confirm: true, also stop asking for this kind of action from now on. Only when the person said so ("don't ask again"). The person can revoke it in LMCP or with set_always_allowed. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||