how python tools are invoked?