Click element
click_elementClicks buttons or links by visible text to trigger actions like Run, Submit, Test, or switch tabs in browser-based code editors.
Instructions
Click a button or link by its visible text. This is how you press Run, Submit, Test, or switch tabs. Matches buttons and links first, then any visible text.
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": {
"text": "<text>"
},
"name": "click_element"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Visible text to click, e.g. 'Submit', 'Run Code', 'Solution' | |
| timeoutMs | No |