A UX design tool has one job: Materialize the designer's intent as working code.
Everything the tool does is in service of refining that intent (ideation, exploration, validation).
A programing tool has one job: Materialize the user's intent as working code.
UX design tools are programming tools.
UX tools today care very little for code. But they should, and it needs to be at their core.