A carboxyl-functionalized covalent organic polymer for the efficient adsorption of saxitoxin.