start_auth_server
Starts an embedded OAuth authentication server for Upstox to handle login and callback requests, and returns the login URL needed to authorize access.
Instructions
Start the embedded auth helper (OAuth /login + /callback, /status) on AUTH_PORT (currently 9080). Returns the login URL. Only one process sharing the .env can own the port; owns_port tells you whether this one does. Stays up until stop_auth_server or process exit.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "start_auth_server"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||