Read a browser session
writ_browser_contextReads live browser session context: re-reads the page, scans result lists for repeating rows and field selectors, or returns the build map. Use before probing a results page by hand.
Instructions
Read context for an open browser session. section=page (default) re-reads the LIVE page — url, form fields, buttons, links, and the cleaned DOM. section=map reads the BUILD this session is bound to: the endpoints, specs and candidate functions Writ's crawl rungs found (evidence to verify), plus what you have composed so far. For ONE list/search API: open the guided session ON the results URL, read section=lists, pass its define_function to writ_browser_compose, save. section=lists SCANS the live page for you at no AI cost: the repeating rows, their field selectors, which captured request carries them, and a live-tested define_function payload to hand to writ_browser_compose. Read it BEFORE probing a results page by hand. section=explorer pages through Writ's full recording policy; section=concierge_api pages through the API-builder policy. The policy sections are reference for unusual flows (logins, multi-request chains), not a prerequisite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| offset | No | Paging offset for the policy sections. | |
| section | No | page (default) | lists | map | explorer | concierge_api | |
| max_chars | No | Characters per page (1000–10000, default 8000). | |
| session_id | Yes |