Don't know how to make gradient tool small

I can’t figure out how to make the gradient tool smaller, it always takes up the whole canvas. anyone know how to do this?