Click an element by visible text
gsites_clickClicks Google Sites buttons, tabs, menu items, or links by visible text or aria-label, with an optional index to choose among multiple matches.
Instructions
Click a button, tab, menu item or link by its visible text or aria-label (case-insensitive substring). Examples: 'Publish', 'Pages', 'Insert', 'Text box', 'Themes'. If several elements match, 'index' picks which one (0 = first). Clicking 'Publish' really publishes the site, so confirm with the user first.
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": "gsites_click"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Visible text or aria-label, e.g. 'Insert' | |
| index | No | Which match to click when several exist |