(ToolCommand): New class for tool commands. (Command.IsTool): New method to distinguish between command switching tools and other commands.