Implement functionality to take the output of one session as input for running another session, enabling chained sessions.
Implement functionality to take the output of one session as input for running another session, enabling chained sessions.