Save the open page's full text to a file (read-only)
page_textWrite the text of the currently open page, such as a view-source document, to a local file and return its path to read embedded data through the browser session.
Instructions
Write the text of the page document now open (leaf by leaf, in document order) to a local file and return its path. Built for a view-source: page, so a store's embedded product data can be read through this browser session. Read-only: nothing is clicked, typed or navigated.
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": "page_text"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from_end | No | Read from the document's end back (a page's embedded app data usually closes it); the text returned is still in page order. | |
| max_chars | No | ||
| window_address | No |