3208: Move the argument parsing and environment setting into a dedicated library
3208: Add fetch_glidein_logs tool