I think a better summary would be: Chile told Bolivia after Bolivia tried to screw it over on an international treaty, and Bolivia dragged Peru into it. It's an interesting history from many perspectives: https://en.wikipedia.org/wiki/War_of_the_Pacific
That's what Peru tried to tell Ecuador.
I think you mean like Peru and Chile told Bolivia,
Yeah, probably.
I think a better summary would be: Chile told Bolivia after Bolivia tried to screw it over on an international treaty, and Bolivia dragged Peru into it. It's an interesting history from many perspectives: https://en.wikipedia.org/wiki/War_of_the_Pacific