Skip to main content

normalize_permission_request

Function normalize_permission_request 

Source
pub fn normalize_permission_request(
    tool: &str,
    message: &Value,
) -> Option<NormalizedPermissionRequest>
Expand description

Normalize a native permission request frame into a uniform event.

Returns None when the message is not a permission request for the tool, so callers can pass every parsed output message through unconditionally.