I use my own similar tool (https://github com/runvnc/askleo) like this in vim
:r ! askleo a JavaScript function to reverse a string :r ! askleo a JavaScript function to reverse a stringFixed link: