tweak api of tool package