Tip-functionalized carbon nanotubes under electric fields