Allow the use of functions in the tool adapter flag maps