what was the initial purpose of the constitutional convention?

to write the constitution.
to amend the constitution.
to amend the articles of confederation
to ratify the constitution

The initial purpose of the Constitutional Convention was to amend the Articles of Confederation. However, it became evident during the convention that it would be more effective to write a completely new constitution instead of making changes to the existing one.