Functionally, it doesn't matter per se if we can call from "outside" the editor or "inside" the editor. If "inside" (the classic ~ prompt), it would be nice to have a lot of robustness, however (e.g. mathematical functions, data structures, etc.). The advantage to externally-facing function calls (dare I call it an "API"?) is that modders could use Python, PERL, C++, or plain-ole' shell scripting to develop algorithms for randomization.
I'm sure the in-game map randomizer will be very good - GalCiv2's AI alone shows a strong skillset in algorithms - but modders may be able to do more: rain-shadow effects for mountains, accounting for ocean currents, etc.
This request is definitely more for the smaller, geekier crowd than for mainstream players, and possibly even mainstream modders. 