Knife tool from api

Is it possible to access the knife tool from the api?

Thanks bud! Probably have broadened my search from “knife”!