The outlet and plug type used in Tonga is I and in Cook Islands is I and they are compatible with each other.
In Cook Islands, outlets of type I are in use.
In Tonga, outlets of type I are in use.