I'd like to define a key binding that calls a function and inserts some default input in the function's minibuffer prompt. For example, I'd like to call the command
ivy-switch-buffer and automatically insert
yank "!\*" into the minibuffer.
(note: not really interested in alternative solutions to this particular example; would like a general solution)