友達 ___ 手紙を書きました。
に marks the recipient or target of an action of giving or communicating (writing a letter to a friend).
手紙を渡す・送る相手(受け手である「友達」)を示す格助詞「に」です。動作が向かう相手・目的地を特定します。
Project Eagleなら、AIがあなたの弱点を一瞬で検知。豊富なクイズ・模擬試験・音声読み上げトレーニングで日本語を完全攻略!