Headphone jack/logic board broken?
You're absolutely right, stupid you.

Jokes aside, if you have the MBP with removable battery, remove it. Turn your computer off, and get a long needle, match, miniature tweezer, unbent paperclip, straw, or pretty much any long, thin pretty strong appliance with a tip able to "hook" on to the aluminium foil. Try to get it out.

There really isn't much more to do. If you can't get it out, you'll either need to send it in for service, or open the Mac and replace the headphone jack yourself (warranty break deluxe).

Keep trying, maybe use a weak suction device or compressed air, be patient, and you'll hopefully get it out. Good luck!