Should probably fetch supported tags with list=tags (https://www.mediawiki.org/wiki/API:Tags) and then allow user selected listed tags to be passed to action=edit in the &tags= parameter.
Wanted for https://en.wikipedia.org/wiki/Wikipedia:Bots/Noticeboard#Tagging_edits_that_fix_lint_errors