Request action authorization
request_authorizationPrompt the user to authorize a browser action (click, type, navigate, etc.). Returns a confirm token on approval or a denial on reject. All requests are recorded for audit.
Instructions
Ask the user to authorize a browser action via the side-panel banner (Level-3 act-with-confirm). On Allow, returns a one-shot confirmToken to pass to execute_action; on Deny, returns the denial. Every call - allowed or denied - is recorded to ~/.peek/audit.log. Use before execute_action when the origin is at permission Level 3, or to pre-authorize.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sessionId | Yes | Session id (origin context) from list_recent_sessions; determines the per-origin permission level. | |
| action | Yes | The browser action to authorize (e.g. click/type/navigate; see the action schema). |