auth_check
Detects sign-in walls by reading URL, title, password fields, and controls; returns authRequired, confidence, and signals to separate expired sessions from lost agents.
Instructions
Is the tab sitting on a sign-in wall? Reads the page (URL, title, password fields, sign-in controls) and returns { authRequired, confidence, signals }. Use it after a navigate, or whenever a step fails unexpectedly, to tell "the session expired" apart from "the agent got lost". Pass failOnAuthWall:true to get an [AUTH_REQUIRED] error instead of a verdict, so a harness can bucket the run as an auth failure.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tabId | No | Tab id (default: agent's tab) | |
| frameId | No | Frame id from frames_list | |
| allFrames | No | Act on the first match in ANY frame (the element may be in an iframe) | |
| failOnAuthWall | No | Error with [AUTH_REQUIRED] if this lands on a sign-in wall (expired session) |