When running planemo lint on my tool XML, I got this error:
element param: Schemas validity error : Element 'param', attribute 'refresh_on_change': The attribute 'refresh_on_change' is not allowed.
It seems the current galaxy.xsd does not define refresh_on_change as a valid attribute for param element.