Implement functions to record start and stop of tool execution