The getUser logic won’t run on the root endpoint.
Each tool gets its own /tools/ endpoint, and Retell will call that endpoint when the tool is executed.
For example, if the tool is named getUser, then your server should expose something like:
POST /tools/getUser
That endpoint should receive the tool’s input (e.g., { "id": "123" }) and return the tool’s result.