add API for selection filter tool