async fn dispatch_widget_request( runtime: &Runtime, widget_id: &str, method: &str, params: Value, ) -> Result<Value, String>
Runs an authorized widget method.