Dithering options missing in API
Gimp 2.10 provides dithering options when color precision conversion is invoked via the main menu Image → Precision.
The corresponding Script-Fu/Python-Fu API call gimp-image-convert-precision
however does not accept any parameters pertaining dithering. There's also apparently no gimp-context-set-*
function for that matter.