code: public static String linkForToolPath(CmsJspActionElement jsp, String toolPath, Map<String, String[]> params) {
  
          if (params == null) {
              // no parameters - take the shortcut
              return linkForToolPath(jsp, toolPath);
          }
          params.put(CmsToolDialog.PARAM_PATH, new String[] {toolPath});
          return CmsRequestUtil.appendParameters(jsp.link(VIEW_JSPPAGE_LOCATION), params, true);
      }
docs: Returns the OpenCms link for the given tool path which requires parameters.<p>
  
  Please note: Don't overuse the parameter map because this will likely introduce issues
  with encoding. If possible, don't pass parameters at all, or only very simple parameters
  with no special chars that can easily be parsed.<p>
  
  @param jsp the jsp action element
  @param toolPath the tool path
  @param params the map of required tool parameters
  
  @return the OpenCms link for the given tool path which requires parameters