MDL-42343 tool_generator: Using the new session manager