Draw by insufficient material
The game is drawn because with the remaining material no sequence of legal moves can lead to a checkmate.
Put a position on the board to probe the tablebases.
Syzygy tablebases provide WDL and DTZ information for all endgame positions with up to 6 pieces, allowing you to make progress, keeping a win in hand, winning all won positions, bringing all drawn positions over the fifty-move line.
This is unlike the shortest way to mate (DTM), that does not account for the fifty-move drawing rule.
If you want to use tablebases in a chess engine you certainly need a local copy.