twitter_customer_session
Register your X (Twitter) account session with auth_token and ct0 cookies to enable authenticated and write tools to act as you. Optionally include proxy and user agent; validates the session.
Instructions
Register YOUR OWN X account session against your API key, so the authenticated-account tools (twitter_home_timeline, twitter_bookmarks, twitter_dm_list, twitter_dm_conversation, twitter_user_likes, twitter_article_list) and the write tools (twitter_create_tweet, twitter_dm_send, twitter_follow_user, twitter_favorite_tweet, twitter_retweet, twitter_media_upload, twitter_article_create, twitter_article_update_title, twitter_article_update_content, twitter_article_publish, twitter_article_unpublish, twitter_article_delete) act as your account. Provide your x.com session cookies auth_token and ct0 (copy them from a logged-in browser); optionally a user_agent and a residential proxy_url. The cookies are stored server-side against your key and are never returned. Returns ok, the resolved username, and whether the session validated live. Prefer twitter_user_login if you would rather pass a username/password than raw cookies. Most tools also accept auth_token/ct0 per-call without registering.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ct0 | Yes | Your x.com ct0 (CSRF) cookie value, from the same browser session. Paired with auth_token. | |
| proxy_url | No | Optional. HTTP or SOCKS proxy URL to route this session's traffic through, e.g. 'http://user:pass@host:port'. | |
| auth_token | Yes | Your x.com auth_token cookie value, from a logged-in browser session. Stored server-side against your key; never returned. | |
| user_agent | No | Optional. Browser User-Agent to send with this session's requests. Defaults to a current Chrome UA. |