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