The US is sending 5,000 troops to the border

So while the troops at the border will be armed, they will only legally be able to assist US border officials by doing things like helping transport border agents and providing emergency medical care to those who need it.