browser_get
Read one element without writing JS. what: 'text' (innerText), 'html' (outerHTML), 'value' (input value), 'attribute' (needs name), 'box' (x, y, width, height in the viewport), 'state' (visible, enabled, editable, checked). ref is an aria-ref or CSS selector; frame = CSS selector of the it is in.
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": {
"page_id": "<page_id>",
"ref": "<ref>"
},
"name": "browser_get"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| name | No | ||
| what | No | text | |
| frame | No | ||
| page_id | Yes | ||
| in_workspace | No | Run this one call in this workspace id instead of the session's. Nothing is stored; other sessions are not affected. |