login
Open a visible browser to sign in to X interactively, including 2FA, and persist the session for later use.
Instructions
Open a visible browser and wait for you to sign in to X interactively.
Run the server with X_HEADLESS=false so the window is visible, call this
tool, complete the login (including any 2FA / email step) in the browser, and
the session is persisted to the on-disk profile for all later calls.
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": "login"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| timeout_seconds | No | How long to wait for sign-in to complete before giving up. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Numeric status id of the created/affected post, if resolvable. | |
| ok | Yes | Whether the action completed successfully. | |
| url | No | Permalink to the created/affected post, if any. | |
| action | Yes | The action that was attempted, e.g. 'post_tweet'. | |
| message | No | Human-readable detail about the outcome. |