Get text
browser_get_textRead the full text of a page element by its ref as plain text, in chunks, and get the offset for the next part instead of scrolling or taking screenshots.
Instructions
Returns the complete text of an element by ref (an article, a section, a long paragraph) as plain text, max_chars at a time, with a footer giving the offset of the next part. The way to read long text, instead of scrolling or screenshots.
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": {
"ref": "<ref>"
},
"name": "browser_get_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | Ref of the element to read (e12, f2e7 …), as browser_snapshot or browser_find showed it. | |
| offset | No | Character to start at; the previous answer's footer gives the next one. | |
| profile | No | Which browser profile (a separate signed-in session) to use. Leave it out for the default one; name another only when the user's task names it. Profiles: default. | default |
| max_chars | No | Most characters to return in this part. |