request


Description:

public async PermissionResponse request (string question, bool one_time = false, bool high_risk = false, out string elevation_password)

Requests permission from the user with the given question.

Shows the widget, waits for user response, then hides the widget.

Parameters:

question

The permission question to display

one_time

When true, hides "Allow Always" and "Deny Always" (see OLLMchat.Tool.RequestBase.one_time_only)

high_risk

When true, styles the row as high-risk (e.g. root elevation)

elevation_password

Password entered for high-risk elevation (empty when denied)

Returns:

The user's permission response

Since:

1.0