You can use the
on_use(...) callback (it's the same for tools as for nodes, but tools haven't really been documented on the wiki yet) to do custom things when you use the tool. Unfortunately this is going to be completely custom and a bit hacky, as currently the dig/damage system is implemented completely in C++, not Lua. So you'd need to either have the tool
instantly dig nodes, or count the number of actual left-clicks (uses) someone has used on the same node, or something like that.
Your other option is to register a global callback for when a player digs a node (
minetest.register_on_dignode) and test whether the tool the player is currently wielding is the one you are interested in "modifying". Then you could affect the nodes around the one that was just dug.