Referencing repl/shell output in ai chat

Is there a way to reference repl/shell output in ai chat?