Title: Powers of the president of the United States
Content:  Under the Constitution, the president is the federal official that is primarily responsible for the relations of the United States with foreign nations. The president appoints ambassadors, ministers, and consuls (subject to confirmation by the Senate) and receives foreign ambassadors and other public officials. With the secretary of state, the president manages all official contacts with foreign governments. On occasion, the president may personally participate in summit conferences where heads of state meet for direct consultation. For example, President Wilson led the American delegation to the Paris Peace Conference in 1919 after World War I; President Franklin D. Roosevelt met 
Title: Powers of the president of the United States
Content:  Allied leaders during World War II; and every president sits down with world leaders to discuss economic and political issues and to reach agreements. Through the Department of State and the Department of Defense, the president is responsible for the protection of Americans abroad and of foreign nationals in the United States. The president decides whether to recognize new nations and new governments, and negotiate treaties with other nations, which become binding on the United States when approved by two-thirds of the Senate. The president may also negotiate executive agreements with foreign powers that are not subject to Senate confirmation.
Title: President of Russia
Content:  The President is invested with extensive rights to implement the state's foreign policy. The President determines Russia's position in international affairs, along with the Prime Minister and the Government of the Federation, and represents the state in international relations, conducts negotiations and signs ratification documents. The President appoints and recalls diplomatic representatives of Russia to foreign states and international organizations. These appointments are preceded by consultations with the respective committees or commissions of the two houses of the Federal Assembly. The President signs international treaties.
Title: President of the United States
Content:  primary responsibility for conducting U.S. foreign policy. The role includes responsibility for directing the world's most expensive military, which has the second largest nuclear arsenal. The president also plays a leading role in federal legislation and domestic policymaking. As part of the system of checks and balances, Article I, Section7 of the Constitution gives the president the power to sign or veto federal legislation. Since modern presidents are also typically viewed as the leaders of their political parties, major policymaking is significantly shaped by the outcome of presidential elections, with presidents taking an active role in promoting their policy priorities to members of Congress who are often electorally dependent on the 
Title: President of Azerbaijan
Content:  The president is invested with extensive rights to implement the state's foreign policy. The president determines Azerbaijan's position in international affairs and represents the state in international relations, conducts negotiations and signs ratification documents.
Title: President of India
Content:  All international treaties and agreements are negotiated and concluded on behalf of the president. However, in practice, such negotiations are usually carried out by the prime minister along with his Cabinet (especially the Minister of External Affairs). Also, such treaties are subject to the approval of the parliament. The president represents India in international forums and affairs where such a function is chiefly ceremonial. The president may also send and receive diplomats, i.e. the officers from the Indian Foreign Service. The president is the first citizen of the country.
Title: Commander-in-chief
Content:  According to the Constitution, Article 128, Section II, Title IV, the president is the head of foreign policy, the civil administration and the Commander-in-Chief of the Armed Forces, the National Police and all other state's security agencies.
Title: Foreign policy of the United States
Content:  approved more than 1,500 treaties, rejected 21, and 85 treaties were withdrawn because the Senate did not act on them. As of December 2014, 36 treaties signed by the President were awaiting action by the Senate. The Congress approves the President's picks for ambassadors and as a secondary function, can declare war. The President is also Commander in Chief of the Armed Forces, and as such has broad authority over the armed forces. The Secretary of State and ambassadors are appointed by the President, with the advice and consent of the Senate. The Secretary of State acts similarly to a foreign minister and under the President's leadership, is the primary conductor of state-to-state diplomacy.
Title: Powers of the president of the United States
Content:  The powers of the president of the United States include those explicitly granted by Article II of the United States Constitution as well as those granted by Acts of Congress, implied powers, and also a great deal of soft power that is attached to the presidency. The Constitution explicitly assigns the president the power to sign or veto legislation, command the armed forces, ask for the written opinion of their Cabinet, convene or adjourn Congress, grant reprieves and pardons, and receive ambassadors. The president shall take care that the laws are faithfully executed and the president has the power to appoint and remove executive officers. The president may make treaties, which need to be ratified by two-thirds of the Senate, and is accorded those foreign-affairs functions not otherwise granted to Congress or shared with the Senate. Thus, the president can control the formation and communication of foreign policy and can direct the nation's diplomatic corps. The president may also appoint Article III judges and some officers with the advice and consent of the U.S. Senate. In the condition of a Senate recess, the president may make a temporary appointment.
Title: President of the European Commission
Content:  president also has responsibility for representing the Commission in the Union and beyond. For example, they are a member of the European Council and takes part in debates in Parliament and the Council of Ministers. Outside the Union they attend the meetings of the G8 to represent the Union. However, in foreign affairs, the president does have to compete with several Commissioners with foreign affairs related portfolios: the High Representative for the Common Foreign and Security Policy and the president of the European Council. The presidential system had started to develop since Jacques Delors and has since been cemented. However, 

Question: what role does the president play in foreign affairs?
Answer: negotiates treaties with foreign nations.