implement search tools for flow