click_element_by_xpath
Click interactive web elements using XPath selectors to automate browser actions like button presses and link navigation.
Instructions
Click an interactive element by XPath with confirmation
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": {
"session_id": "<session_id>",
"xpath": "<xpath>"
},
"name": "click_element_by_xpath"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | ||
| xpath | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |