Does the below do what you want? It returns the file path of the Project.toml file of the active project.
julia> Base.active_project()
Does the below do what you want? It returns the file path of the Project.toml file of the active project.
julia> Base.active_project()