Drop a profile JSON or session export to visualize
inspect_tool(action="profile", code="...")
session.to_json("output.json")