I want to check the legality of certain interface input parameters in the inspect_message method to ensure that when these update interfaces are actually requested, the initiated request is not a waste request
Yes in the inspect_message
you can get ic_cdk::api::call::{caller, method_name, arg_data}
.