find
Locate page elements by literal text in names, labels, placeholders, values, or link targets, optionally filtered by role. Returns every match with a ref so you can click or scroll to it.
Instructions
Find elements by literal text: a case-insensitive substring of the name, visible text, label, placeholder, value or link target; optionally only a given role. Returns every match with a ref (text and headings included, so they can be clicked or scrolled to). Not a semantic search: look for words that are on the page.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Only this role: button, link, textbox, checkbox, radio, combobox, heading, text, image, tab, menuitem, ... | |
| limit | No | Maximum matches to show (default 50). | |
| query | No | Text to look for. | |
| tabId | No | Tab to act on, from tabs_context. Omitted: this session's active tab. Pass it always when several agents share the session. | |
| reveal_values | No | Show secrets (cookie values, tokens, passwords) instead of masking them. They end up in the transcript; use only when the value itself is needed. |