pub fn parse_params<T: DeserializeOwned>( args: Option<&Map<String, Value>>, ) -> Result<T, ErrorData>
Parse tool parameters from JSON.