The foreign service is the government department that employs diplomats to work in foreign countries.
[US]regional note: in BRIT, use diplomatic service
foreign service in British English
noun
mainly US
the diplomatic and usually consular personnel of a foreign affairs ministry or foreign office collectively who represent their country abroad, deal with foreign diplomats at home, etc