What is the main responsibility of the solicitor general? In one simple sentence

The main responsibility of the solicitor general is to represent the federal government in United States Supreme Court cases.

Not taking about the ones in USA but like a general responsibility that they all do

The main responsibility of a solicitor general, in general, is to provide legal advice to the government and represent the government's interests in legal matters.

The main responsibility of the Solicitor General is to represent the government in legal matters before the highest court, usually the Supreme Court.

The main responsibility of the solicitor general is to represent the federal government in legal matters before the Supreme Court.