get_page_text
Retrieve visible text from a web page body for validation or extraction. Truncates text to a specified character limit.
Instructions
Retrieve visible text from the page body.
Purpose
Provides page text for reasoning, validation, or extraction.
Text is truncated to max_chars characters; check the returned
truncated flag to know whether content was cut.
Parameters
session_id : str Active browser session identifier. max_chars : int Maximum characters to return (default: 5000).
Returns
dict { "session_id": str, "page_text": str (Page text extract), truncated": bool (True, if the page_text is truncated. Else, False), "total_chars": int, "status": str, "message": str }
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_chars | No | ||
| session_id | Yes |