Start service in container and get entrypoint for user

Hello. May be i wrong googled, but i can`t find questions like this.
I have network tool in docker container. It may work by direct connect to network and by TOR connection. My entrypoint:

ENTRYPOINT [“pypy”, “./tool.py”]

I need this entry point for get script params from user like

docker run … container_name param1 param2 param3

If user want work by TOR, i ask set IP and port of TOR socks in “-e”. But now i want install tor in container and start this service when user start container (i dont want ask IP:PORT from user).
Is it possible? I found many receipes for start some services when container start, but without get params from users. And receipes for get params from users, but without service start. Thanks.