Let $K$ be an algebraic number field, and consider the Galois group:
$G = Gal(\bar{\mathbb{Q}}, K)$.
Is knowing the Galois group $G$ alone, without other information on $K$, enough to determine the ideal class group of $K$?
A user suggested that in short the answer is "yes", via class field theory, as a comment to my other post:
Does the abelianization of the Galois group determine the ideal class group?
In that post, I was looking at the wrong Galois group.
I don't require a long answer. It would not be fair to ask for a complete explanation, because it seems like a standard result in class field theory (which is on my list of subjects to learn about). However, a brief outline with a couple of references would be great.
The answer is yes, but the explanation given by @Mathmo123 is incorrect.
While it is true that class field theory gives an adelic description of $G^{ab}$, it is not at all clear one can recover from this description what the maximal unramified extension of $K$ should be. In order to compute the class group, one has to take the quotient of the idele class group (or really the idele class group modulo a maximal connected component at the infinite place) by $\widehat{\mathcal O_K^\times}$ - but this subgroup is given in terms of $K$, and the problem is exactly about giving a description which depends only on $G$, and not on $K$.
This error is a fatal one - it turns out that the abelianization $G^{ab}$ of $G = G_K$ is not enough to determine the class group. For some references and examples of this phenomenon, see this paper (in particular, the last line of the first page):
http://www.math.ucsd.edu/~kedlaya/ants10/angelakis/paper.pdf
That said, the answer by Alex J Best in the comments gives a complete positive answer to the question; the entire group $G$ determines $K$ by the Neukirch-Uchida theorem, and then knowing $K$ determines the class group of $K$.