element_exists
Checks whether a browser page element exists and returns true or false, enabling quick validation before interaction.
Instructions
Quick check if element exists (returns true/false).
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": "element_exists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| pageId | No | ||
| selector | Yes |