Add getter for tool protocol, move responsibility for executing protocol commands to the main application.