The General Agreement on Tariffs and Trade is a legal agreement between many countries, whose overall purpose was to promote international trade by reducing or eliminating trade barriers such as tariffs or quotas. From Wikipedia
The US defends its tariffs as national security measures under Section 232, asserting they are not safeguard actions requiring WTO notification or consultation.