The parents tried to soothe the baby with toys.

Literal

Parents [topic-は] baby [object-を] toys [with-で] soothe-try-to did.

あやす means 'to soothe/pacify a baby' — a specialized verb for calming infants, not used for adults. で marks the instrument (with toys). ~ようとした expresses the attempt.