add_account
Start OAuth 2.0 PKCE to authorize an additional X account and get a browser URL. Loopback mode saves tokens locally; paste mode returns callback URL to complete authorization.
Instructions
Start OAuth 2.0 (PKCE) to authorize another X account. Returns authorize_url for the user to open in a browser logged in to that account, and a note to relay to them. mode=loopback: a local listener saves the token automatically; confirm with auth_status. mode=paste: ask the user to paste the callback URL from the address bar right after approving and pass it to complete_authorization at once. Tokens are stored only on this machine.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait_seconds | No | Block up to this many seconds for the user to finish in the browser (default 0: return the URL immediately). |