find
Locate UI elements by visible text, with optional above, below, or near constraints, to target the correct control in automated UI checks.
Instructions
Find an element by text with optional spatial constraints (below/above/near).
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": "find"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| near | No | Target must be near this element (optional). | |
| text | Yes | Text of the target element. | |
| above | No | Target must be above this element (optional). | |
| below | No | Target must be below this element (optional). | |
| session_id | No | Session ID to target. Optional: falls back to the MCP-server-held dev_start session, then this project's `vibeview dev --detach` state, if either is available. |