i guess op means: $ man tool | ai <how do I do this with the tool>
where ai could be a simple shell script combining the argument with stdin