@twitterapis/mcp 0.10.0 → 0.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +47 -0
- package/README.md +4 -3
- package/package.json +1 -1
- package/src/tools.js +213 -178
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,52 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.11.1 (2026-09-13)
|
|
4
|
+
|
|
5
|
+
### Fixed
|
|
6
|
+
- `twitter_update_profile`: an empty string CLEARS a field. The tool description said
|
|
7
|
+
the opposite, and 0.11.0 shipped that to npm. It was true of the API when written
|
|
8
|
+
and stopped being true when the handler was fixed the same day.
|
|
9
|
+
|
|
10
|
+
### Notes
|
|
11
|
+
- A PATCH, not a minor: the catalog is unchanged at 107 tools, 65 reads and 42 writes.
|
|
12
|
+
Only description text moves, which `scripts/prepublish-version-class.mjs` confirms.
|
|
13
|
+
- The claim is now verified the only way that works on this endpoint: by sending a
|
|
14
|
+
value that CHANGES and reading the profile back. The previous check used a
|
|
15
|
+
byte-for-byte no-op, which is the one test that cannot fail, since the profile looks
|
|
16
|
+
identical whether the write applied or was silently dropped.
|
|
17
|
+
- Why it matters that this was wrong rather than merely vague: the old text told a
|
|
18
|
+
model that `description: ""` was a harmless no-op. After the handler fix, that exact
|
|
19
|
+
call blanks the field. A description that is confidently wrong about a destructive
|
|
20
|
+
operation is worse than one that says nothing.
|
|
21
|
+
- Separately, writes to this endpoint are sometimes accepted upstream and sometimes
|
|
22
|
+
refused, and only some refusals are classified honestly. That is a defect under
|
|
23
|
+
repair on the API side, not part of this tool's contract, so it is deliberately not
|
|
24
|
+
written into the description.
|
|
25
|
+
|
|
26
|
+
## 0.11.0 (2026-09-13)
|
|
27
|
+
|
|
28
|
+
### Added
|
|
29
|
+
- `twitter_update_profile` — change the display name, bio, location or link on the
|
|
30
|
+
account behind your session. The catalog goes 106 to 107 tools, 65 reads and 42
|
|
31
|
+
writes, still exact parity with the API's own endpoint count. A MINOR release
|
|
32
|
+
rather than a patch, so a consumer pinned to 0.10.x opts in rather than silently
|
|
33
|
+
receiving a new write tool.
|
|
34
|
+
|
|
35
|
+
### Notes
|
|
36
|
+
- It is a genuine PARTIAL update, tested rather than assumed: X's own client sends
|
|
37
|
+
the whole editable set on every save, so a form carrying only `name` is a shape
|
|
38
|
+
that client never produces. Measured against an account with a non-empty bio
|
|
39
|
+
before publishing: name only, HTTP 200, bio intact.
|
|
40
|
+
- An empty string does NOT clear a field. The API trims empty values and treats
|
|
41
|
+
them as absent, so there is no way to blank a bio or a location through this tool
|
|
42
|
+
today. An earlier draft of this release documented the opposite; it was wrong and
|
|
43
|
+
was caught by an adversarial review running the shipped handler rather than
|
|
44
|
+
reading it.
|
|
45
|
+
- `updated_fields` echoes the field names you SENT. It is not a diff, so a field you
|
|
46
|
+
set to the value it already held still appears in it.
|
|
47
|
+
- The two sibling profile writes, avatar and banner, are deliberately not published:
|
|
48
|
+
neither has ever been called, and both need a real image upload.
|
|
49
|
+
|
|
3
50
|
## 0.10.0 (2026-09-13)
|
|
4
51
|
|
|
5
52
|
### Added
|
package/README.md
CHANGED
|
@@ -91,7 +91,7 @@ Restart Claude Desktop. The `twitter_*` tools appear in the tool picker.
|
|
|
91
91
|
|
|
92
92
|
## Tools
|
|
93
93
|
|
|
94
|
-
|
|
94
|
+
107 tools: 65 reads and 42 write actions. Most user endpoints accept `username` (handle without @) **or** `user_id` (`twitter_user_likes` and `twitter_user_tweets_complete` require `user_id`); tweet endpoints accept `id` **or** `url`; paginated endpoints return a `cursor` you pass back to get the next page. Four of the reads are free account lookups (`twitter_account_me`, `twitter_account_payments`, `twitter_feedback_get`, `twitter_feedback_list`); the 14 monitoring tools and `twitter_feedback_send` are also free (account administration, not metered reads).
|
|
95
95
|
|
|
96
96
|
Public reads (search, profiles, tweets, followers, likes) work with just your API key. The **account-only** reads (bookmarks, DMs, home timeline, followers-you-know) and **most write actions** act AS an authenticated X account, so they need a session linked to your key first (returns HTTP 409 until then). Link a session either by registering your x.com cookies (`twitter_customer_session`) or by logging in with a username/password (`twitter_user_login`). Alternatively, pass **per-call inline credentials** on any of those tools (`auth_token` + `ct0`, with optional `proxy_url` / `user_agent`) to act AS that account for a single call without pre-registering a session, so one API key can act as many accounts. For write actions, set `proxy_url` to a residential proxy, since X soft-blocks writes that egress from datacenter IPs. Each write tool is annotated `readOnlyHint: false`; reversing actions (delete, unfollow, unlike, unretweet, unbookmark, monitor/webhook delete) are annotated `destructiveHint: true` so MCP clients can prompt before running them. The **monitoring** and **feedback** tools (see below) are the exception: they administer your twitterapis.com account, not an X session, so they need only your API key, no linked session and no inline credentials.
|
|
97
97
|
|
|
@@ -169,6 +169,7 @@ Public reads (search, profiles, tweets, followers, likes) work with just your AP
|
|
|
169
169
|
| `twitter_list_create` | Create a Twitter/X List owned by your session (`name`, optional `description` / `is_private`) |
|
|
170
170
|
| `twitter_list_add_member` / `twitter_list_remove_member` | Add / remove one account on a List you own; `member_count` comes back as proof the write landed |
|
|
171
171
|
| `twitter_media_upload` | Upload a base64 image, returns a `media_id` for `twitter_create_tweet` |
|
|
172
|
+
| `twitter_update_profile` | Change your own name, bio, location or link. A PARTIAL update: omitted fields keep their values, an empty string clears one |
|
|
172
173
|
|
|
173
174
|
### Drafts and scheduled posts _(require a linked X session)_
|
|
174
175
|
|
|
@@ -326,7 +327,7 @@ count: 50
|
|
|
326
327
|
|
|
327
328
|
## Pricing
|
|
328
329
|
|
|
329
|
-
Calls are billed to your twitterapis.com account. Most endpoints are $0.0008/call: nearly every read (search, profiles, tweets, followers, likes) plus the simple write actions (like, retweet, bookmark, follow and their undos, delete). At the read rate that works out to $0.04 per 1,000 tweets, since each call returns about 20 tweets. The premium endpoints cost a little more: tweet creation, sending a DM (`twitter_dm_send`), and DM reads (`twitter_dm_list`, `twitter_dm_conversation`) at $0.0016/call, full tweet history (`twitter_user_tweets_complete`) at $0.0024/call, a full tweet thread (`twitter_tweet_thread`) and a Grok answer (`twitter_grok_chat`) at $0.004/call, and the article-editing writes (`twitter_article_create`, `twitter_article_update_title`, `twitter_article_update_cover_media`, `twitter_article_update_content`, `twitter_article_publish`, `twitter_article_unpublish`) at $0.0016. The compose surface is $0.0016 for `twitter_draft_create`, `twitter_draft_edit`, `twitter_scheduled_create` and, note, BOTH LIST READS (`twitter_draft_list`, `twitter_scheduled_list`), which are the two reads that are not at the read rate; `twitter_draft_delete` and `twitter_scheduled_delete` are $0.0008/call
|
|
330
|
+
Calls are billed to your twitterapis.com account. Most endpoints are $0.0008/call: nearly every read (search, profiles, tweets, followers, likes) plus the simple write actions (like, retweet, bookmark, follow and their undos, delete). At the read rate that works out to $0.04 per 1,000 tweets, since each call returns about 20 tweets. The premium endpoints cost a little more: tweet creation, sending a DM (`twitter_dm_send`), and DM reads (`twitter_dm_list`, `twitter_dm_conversation`) at $0.0016/call, full tweet history (`twitter_user_tweets_complete`) at $0.0024/call, a full tweet thread (`twitter_tweet_thread`) and a Grok answer (`twitter_grok_chat`) at $0.004/call, and the article-editing writes (`twitter_article_create`, `twitter_article_update_title`, `twitter_article_update_cover_media`, `twitter_article_update_content`, `twitter_article_publish`, `twitter_article_unpublish`) at $0.0016. The compose surface is $0.0016 for `twitter_draft_create`, `twitter_draft_edit`, `twitter_scheduled_create` and, note, BOTH LIST READS (`twitter_draft_list`, `twitter_scheduled_list`), which are the two reads that are not at the read rate; `twitter_draft_delete` and `twitter_scheduled_delete` are $0.0008/call, while `twitter_article_get`, `twitter_article_list` and `twitter_article_delete` stay at the standard $0.0008/call. `twitter_update_profile`, the one published profile write, is $0.0016/call. Your first $0.50 is free. See [twitterapis.com/pricing](https://www.twitterapis.com/pricing).
|
|
330
331
|
|
|
331
332
|
## Links
|
|
332
333
|
|
|
@@ -339,7 +340,7 @@ Calls are billed to your twitterapis.com account. Most endpoints are $0.0008/cal
|
|
|
339
340
|
|
|
340
341
|
**Do I need an X (Twitter) developer account?** No. Get an API key at [twitterapis.com/signup](https://www.twitterapis.com/signup); there is no application or approval step.
|
|
341
342
|
|
|
342
|
-
**Is it read-only?** No. 65 read tools work with just your API key;
|
|
343
|
+
**Is it read-only?** No. 65 read tools work with just your API key; 42 write actions (post, save or schedule a post, like, retweet, follow, DM, media upload, List create/add member/remove member, article create/edit/publish/delete, monitor/webhook create/update/delete, feedback send) act as a linked X account or per-call inline credentials, except monitor/webhook CRUD and feedback, which are account administration and need only your API key.
|
|
343
344
|
|
|
344
345
|
**Which clients are supported?** Claude Desktop, Cursor, Windsurf, and VS Code (Copilot agent mode), or any Model Context Protocol client.
|
|
345
346
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twitterapis/mcp",
|
|
3
3
|
"mcpName": "io.github.TwitterAPIs/twitterapis-mcp",
|
|
4
|
-
"version": "0.
|
|
4
|
+
"version": "0.11.1",
|
|
5
5
|
"description": "Official MCP server for twitterapis.com, the Twitter/X API (search, users, followers, tweets, threads, lists, likes, bookmarks, DMs) plus write actions (post/like/retweet/follow) as native tools for Claude, Cursor, and any MCP client.",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
package/src/tools.js
CHANGED
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
// file in memory and fails if it does not match what is committed, so a hand edit
|
|
9
9
|
// here is caught rather than shipped.
|
|
10
10
|
//
|
|
11
|
-
// Catalog:
|
|
11
|
+
// Catalog: 107 tools (65 reads, 42 writes).
|
|
12
12
|
//
|
|
13
13
|
// Each tool maps 1:1 to a REST endpoint at https://api.twitterapis.com. Tool arg
|
|
14
14
|
// names map 1:1 to endpoint query params (every endpoint, including the POST
|
|
15
15
|
// write actions, reads its params from the query string), except the per-call
|
|
16
|
-
// inline credentials, which travel as x-* request headers, the
|
|
16
|
+
// inline credentials, which travel as x-* request headers, the 12
|
|
17
17
|
// jsonBody tools, whose fields travel in a JSON request body, and any arg listed
|
|
18
18
|
// in pathParams, which is substituted into the URL path (e.g. {id}) instead. A
|
|
19
19
|
// tool with `method: "POST"` or `method: "DELETE"` is a write that acts on
|
|
@@ -379,16 +379,16 @@ export const TOOLS = [
|
|
|
379
379
|
"Opaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.",
|
|
380
380
|
),
|
|
381
381
|
auth_token: z.string().optional().describe(
|
|
382
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
382
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
383
383
|
),
|
|
384
384
|
ct0: z.string().optional().describe(
|
|
385
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
385
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
386
386
|
),
|
|
387
387
|
proxy_url: z.string().optional().describe(
|
|
388
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
388
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
389
389
|
),
|
|
390
390
|
user_agent: z.string().optional().describe(
|
|
391
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
391
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
392
392
|
),
|
|
393
393
|
},
|
|
394
394
|
},
|
|
@@ -711,16 +711,16 @@ export const TOOLS = [
|
|
|
711
711
|
"How many images Grok may generate if the prompt calls for one. Defaults to the value X's own client sends. Set 0 for a text-only answer.",
|
|
712
712
|
),
|
|
713
713
|
auth_token: z.string().optional().describe(
|
|
714
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
714
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
715
715
|
),
|
|
716
716
|
ct0: z.string().optional().describe(
|
|
717
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
717
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
718
718
|
),
|
|
719
719
|
proxy_url: z.string().optional().describe(
|
|
720
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
720
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
721
721
|
),
|
|
722
722
|
user_agent: z.string().optional().describe(
|
|
723
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
723
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
724
724
|
),
|
|
725
725
|
},
|
|
726
726
|
},
|
|
@@ -731,16 +731,16 @@ export const TOOLS = [
|
|
|
731
731
|
"Check whether the authenticated account can use Grok, and which models it may pick. Returns eligibility, X's own reasons when it is NOT eligible (passed through verbatim, since we cannot know X's policy), whether free access is enabled, and the available model options. Eligibility is a property of the X ACCOUNT rather than of the API key, so ask this about the same account you intend to run twitter_grok_chat as. Free.",
|
|
732
732
|
shape: {
|
|
733
733
|
auth_token: z.string().optional().describe(
|
|
734
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
734
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
735
735
|
),
|
|
736
736
|
ct0: z.string().optional().describe(
|
|
737
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
737
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
738
738
|
),
|
|
739
739
|
proxy_url: z.string().optional().describe(
|
|
740
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
740
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
741
741
|
),
|
|
742
742
|
user_agent: z.string().optional().describe(
|
|
743
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
743
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
744
744
|
),
|
|
745
745
|
},
|
|
746
746
|
},
|
|
@@ -861,16 +861,16 @@ export const TOOLS = [
|
|
|
861
861
|
"Opaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.",
|
|
862
862
|
),
|
|
863
863
|
auth_token: z.string().optional().describe(
|
|
864
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
864
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
865
865
|
),
|
|
866
866
|
ct0: z.string().optional().describe(
|
|
867
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
867
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
868
868
|
),
|
|
869
869
|
proxy_url: z.string().optional().describe(
|
|
870
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
870
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
871
871
|
),
|
|
872
872
|
user_agent: z.string().optional().describe(
|
|
873
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
873
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
874
874
|
),
|
|
875
875
|
},
|
|
876
876
|
},
|
|
@@ -887,16 +887,16 @@ export const TOOLS = [
|
|
|
887
887
|
"Opaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.",
|
|
888
888
|
),
|
|
889
889
|
auth_token: z.string().optional().describe(
|
|
890
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
890
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
891
891
|
),
|
|
892
892
|
ct0: z.string().optional().describe(
|
|
893
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
893
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
894
894
|
),
|
|
895
895
|
proxy_url: z.string().optional().describe(
|
|
896
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
896
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
897
897
|
),
|
|
898
898
|
user_agent: z.string().optional().describe(
|
|
899
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
899
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
900
900
|
),
|
|
901
901
|
},
|
|
902
902
|
},
|
|
@@ -913,16 +913,16 @@ export const TOOLS = [
|
|
|
913
913
|
"Opaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.",
|
|
914
914
|
),
|
|
915
915
|
auth_token: z.string().optional().describe(
|
|
916
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
916
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
917
917
|
),
|
|
918
918
|
ct0: z.string().optional().describe(
|
|
919
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
919
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
920
920
|
),
|
|
921
921
|
proxy_url: z.string().optional().describe(
|
|
922
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
922
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
923
923
|
),
|
|
924
924
|
user_agent: z.string().optional().describe(
|
|
925
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
925
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
926
926
|
),
|
|
927
927
|
},
|
|
928
928
|
},
|
|
@@ -939,16 +939,16 @@ export const TOOLS = [
|
|
|
939
939
|
"Opaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.",
|
|
940
940
|
),
|
|
941
941
|
auth_token: z.string().optional().describe(
|
|
942
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
942
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
943
943
|
),
|
|
944
944
|
ct0: z.string().optional().describe(
|
|
945
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
945
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
946
946
|
),
|
|
947
947
|
proxy_url: z.string().optional().describe(
|
|
948
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
948
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
949
949
|
),
|
|
950
950
|
user_agent: z.string().optional().describe(
|
|
951
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
951
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
952
952
|
),
|
|
953
953
|
},
|
|
954
954
|
},
|
|
@@ -968,16 +968,16 @@ export const TOOLS = [
|
|
|
968
968
|
"Opaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.",
|
|
969
969
|
),
|
|
970
970
|
auth_token: z.string().optional().describe(
|
|
971
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
971
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
972
972
|
),
|
|
973
973
|
ct0: z.string().optional().describe(
|
|
974
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
974
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
975
975
|
),
|
|
976
976
|
proxy_url: z.string().optional().describe(
|
|
977
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
977
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
978
978
|
),
|
|
979
979
|
user_agent: z.string().optional().describe(
|
|
980
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
980
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
981
981
|
),
|
|
982
982
|
},
|
|
983
983
|
},
|
|
@@ -988,16 +988,16 @@ export const TOOLS = [
|
|
|
988
988
|
"List YOUR authenticated account's bookmark FOLDERS (X's internal name: collections), the named groups you can organize saved tweets into, separate from your flat bookmarks list (twitter_bookmarks). Requires an authenticated session behind your key. Returns each folder's id, name, and a cover image. Takes no arguments; your folders resolve from your session alone. Use twitter_bookmark_folder_timeline with a folder's id to read the tweets inside it.",
|
|
989
989
|
shape: {
|
|
990
990
|
auth_token: z.string().optional().describe(
|
|
991
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
991
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
992
992
|
),
|
|
993
993
|
ct0: z.string().optional().describe(
|
|
994
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
994
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
995
995
|
),
|
|
996
996
|
proxy_url: z.string().optional().describe(
|
|
997
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
997
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
998
998
|
),
|
|
999
999
|
user_agent: z.string().optional().describe(
|
|
1000
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1000
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1001
1001
|
),
|
|
1002
1002
|
},
|
|
1003
1003
|
},
|
|
@@ -1014,16 +1014,16 @@ export const TOOLS = [
|
|
|
1014
1014
|
"Opaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.",
|
|
1015
1015
|
),
|
|
1016
1016
|
auth_token: z.string().optional().describe(
|
|
1017
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1017
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1018
1018
|
),
|
|
1019
1019
|
ct0: z.string().optional().describe(
|
|
1020
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1020
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1021
1021
|
),
|
|
1022
1022
|
proxy_url: z.string().optional().describe(
|
|
1023
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1023
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1024
1024
|
),
|
|
1025
1025
|
user_agent: z.string().optional().describe(
|
|
1026
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1026
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1027
1027
|
),
|
|
1028
1028
|
},
|
|
1029
1029
|
},
|
|
@@ -1034,16 +1034,16 @@ export const TOOLS = [
|
|
|
1034
1034
|
"List YOUR authenticated account's Direct Message conversations (inbox), each with the participant and a conversation_id you can pass to twitter_dm_conversation. Requires an authenticated session behind your key. Read-only: this does not send DMs.",
|
|
1035
1035
|
shape: {
|
|
1036
1036
|
auth_token: z.string().optional().describe(
|
|
1037
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1037
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1038
1038
|
),
|
|
1039
1039
|
ct0: z.string().optional().describe(
|
|
1040
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1040
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1041
1041
|
),
|
|
1042
1042
|
proxy_url: z.string().optional().describe(
|
|
1043
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1043
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1044
1044
|
),
|
|
1045
1045
|
user_agent: z.string().optional().describe(
|
|
1046
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1046
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1047
1047
|
),
|
|
1048
1048
|
},
|
|
1049
1049
|
},
|
|
@@ -1057,16 +1057,16 @@ export const TOOLS = [
|
|
|
1057
1057
|
"The conversation_id from a twitter_dm_list entry identifying which DM thread to read.",
|
|
1058
1058
|
),
|
|
1059
1059
|
auth_token: z.string().optional().describe(
|
|
1060
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1060
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1061
1061
|
),
|
|
1062
1062
|
ct0: z.string().optional().describe(
|
|
1063
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1063
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1064
1064
|
),
|
|
1065
1065
|
proxy_url: z.string().optional().describe(
|
|
1066
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1066
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1067
1067
|
),
|
|
1068
1068
|
user_agent: z.string().optional().describe(
|
|
1069
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1069
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1070
1070
|
),
|
|
1071
1071
|
},
|
|
1072
1072
|
},
|
|
@@ -1085,16 +1085,16 @@ export const TOOLS = [
|
|
|
1085
1085
|
"The Direct Message body text to send (non-empty).",
|
|
1086
1086
|
),
|
|
1087
1087
|
auth_token: z.string().optional().describe(
|
|
1088
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1088
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1089
1089
|
),
|
|
1090
1090
|
ct0: z.string().optional().describe(
|
|
1091
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1091
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1092
1092
|
),
|
|
1093
1093
|
proxy_url: z.string().optional().describe(
|
|
1094
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1094
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1095
1095
|
),
|
|
1096
1096
|
user_agent: z.string().optional().describe(
|
|
1097
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1097
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1098
1098
|
),
|
|
1099
1099
|
},
|
|
1100
1100
|
},
|
|
@@ -1119,16 +1119,16 @@ export const TOOLS = [
|
|
|
1119
1119
|
"Optional. Comma-separated media id(s) from a prior media upload to attach (images/video).",
|
|
1120
1120
|
),
|
|
1121
1121
|
auth_token: z.string().optional().describe(
|
|
1122
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1122
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1123
1123
|
),
|
|
1124
1124
|
ct0: z.string().optional().describe(
|
|
1125
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1125
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1126
1126
|
),
|
|
1127
1127
|
proxy_url: z.string().optional().describe(
|
|
1128
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1128
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1129
1129
|
),
|
|
1130
1130
|
user_agent: z.string().optional().describe(
|
|
1131
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1131
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1132
1132
|
),
|
|
1133
1133
|
},
|
|
1134
1134
|
},
|
|
@@ -1148,16 +1148,51 @@ export const TOOLS = [
|
|
|
1148
1148
|
"Full tweet URL, e.g. \"https://x.com/elonmusk/status/1789012345678901234\". Provide exactly one of id or url.",
|
|
1149
1149
|
),
|
|
1150
1150
|
auth_token: z.string().optional().describe(
|
|
1151
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1151
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1152
1152
|
),
|
|
1153
1153
|
ct0: z.string().optional().describe(
|
|
1154
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1154
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1155
1155
|
),
|
|
1156
1156
|
proxy_url: z.string().optional().describe(
|
|
1157
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1157
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1158
1158
|
),
|
|
1159
1159
|
user_agent: z.string().optional().describe(
|
|
1160
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1160
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1161
|
+
),
|
|
1162
|
+
},
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
name: "twitter_update_profile",
|
|
1166
|
+
path: "/twitter/user/update_profile",
|
|
1167
|
+
method: "POST",
|
|
1168
|
+
write: true,
|
|
1169
|
+
jsonBody: true,
|
|
1170
|
+
description:
|
|
1171
|
+
"Change the display name, bio, location or link on your authenticated account's own X profile. This is a PARTIAL update: send only the fields you want to change and everything you omit keeps its current value, so passing just a name will NOT wipe the bio. An empty string CLEARS that field, which is different from omitting it: \"\" blanks the value, an absent key leaves it alone. At least one of name, description, location or url is required, and a request whose only value is an empty string is a valid clear rather than an empty request. It writes a real profile and takes effect immediately with no undo, so read the current values with twitter_user_info first if you may need to restore them. Requires an authenticated session behind your key. Returns ok and updated_fields, which echoes the field names you SENT rather than a diff against the previous profile.",
|
|
1172
|
+
shape: {
|
|
1173
|
+
name: z.string().optional().describe(
|
|
1174
|
+
"Optional. New display name, up to 50 characters. Omit to leave it unchanged.",
|
|
1175
|
+
),
|
|
1176
|
+
description: z.string().optional().describe(
|
|
1177
|
+
"Optional. New bio. Send an EMPTY STRING to clear it; OMIT the field to leave it alone. Those are different.",
|
|
1178
|
+
),
|
|
1179
|
+
location: z.string().optional().describe(
|
|
1180
|
+
"Optional. New location text. Same rule: an empty string clears it, omitting the field leaves it alone.",
|
|
1181
|
+
),
|
|
1182
|
+
url: z.string().optional().describe(
|
|
1183
|
+
"Optional. New profile link.",
|
|
1184
|
+
),
|
|
1185
|
+
auth_token: z.string().optional().describe(
|
|
1186
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1187
|
+
),
|
|
1188
|
+
ct0: z.string().optional().describe(
|
|
1189
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1190
|
+
),
|
|
1191
|
+
proxy_url: z.string().optional().describe(
|
|
1192
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1193
|
+
),
|
|
1194
|
+
user_agent: z.string().optional().describe(
|
|
1195
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1161
1196
|
),
|
|
1162
1197
|
},
|
|
1163
1198
|
},
|
|
@@ -1182,16 +1217,16 @@ export const TOOLS = [
|
|
|
1182
1217
|
"Optional. Comma-separated media id(s) from a prior media upload to attach. Up to 4.",
|
|
1183
1218
|
),
|
|
1184
1219
|
auth_token: z.string().optional().describe(
|
|
1185
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1220
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1186
1221
|
),
|
|
1187
1222
|
ct0: z.string().optional().describe(
|
|
1188
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1223
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1189
1224
|
),
|
|
1190
1225
|
proxy_url: z.string().optional().describe(
|
|
1191
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1226
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1192
1227
|
),
|
|
1193
1228
|
user_agent: z.string().optional().describe(
|
|
1194
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1229
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1195
1230
|
),
|
|
1196
1231
|
},
|
|
1197
1232
|
},
|
|
@@ -1219,16 +1254,16 @@ export const TOOLS = [
|
|
|
1219
1254
|
"Optional. Comma-separated media id(s) to attach. Omitting this drops whatever media the draft had; it is not merged.",
|
|
1220
1255
|
),
|
|
1221
1256
|
auth_token: z.string().optional().describe(
|
|
1222
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1257
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1223
1258
|
),
|
|
1224
1259
|
ct0: z.string().optional().describe(
|
|
1225
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1260
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1226
1261
|
),
|
|
1227
1262
|
proxy_url: z.string().optional().describe(
|
|
1228
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1263
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1229
1264
|
),
|
|
1230
1265
|
user_agent: z.string().optional().describe(
|
|
1231
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1266
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1232
1267
|
),
|
|
1233
1268
|
},
|
|
1234
1269
|
},
|
|
@@ -1245,16 +1280,16 @@ export const TOOLS = [
|
|
|
1245
1280
|
"Numeric id of the draft to delete, from twitter_draft_list. Also accepted by the API as draft_tweet_id.",
|
|
1246
1281
|
),
|
|
1247
1282
|
auth_token: z.string().optional().describe(
|
|
1248
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1283
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1249
1284
|
),
|
|
1250
1285
|
ct0: z.string().optional().describe(
|
|
1251
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1286
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1252
1287
|
),
|
|
1253
1288
|
proxy_url: z.string().optional().describe(
|
|
1254
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1289
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1255
1290
|
),
|
|
1256
1291
|
user_agent: z.string().optional().describe(
|
|
1257
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1292
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1258
1293
|
),
|
|
1259
1294
|
},
|
|
1260
1295
|
},
|
|
@@ -1268,16 +1303,16 @@ export const TOOLS = [
|
|
|
1268
1303
|
"Optional. Pass the STRING \"true\" to ask X for the oldest draft first. Anything else, including omitting it, sends ascending=false, which is what X's own composer sends. The resulting order is X's and is not re-sorted, so do not promise a user newest-first.",
|
|
1269
1304
|
),
|
|
1270
1305
|
auth_token: z.string().optional().describe(
|
|
1271
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1306
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1272
1307
|
),
|
|
1273
1308
|
ct0: z.string().optional().describe(
|
|
1274
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1309
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1275
1310
|
),
|
|
1276
1311
|
proxy_url: z.string().optional().describe(
|
|
1277
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1312
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1278
1313
|
),
|
|
1279
1314
|
user_agent: z.string().optional().describe(
|
|
1280
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1315
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1281
1316
|
),
|
|
1282
1317
|
},
|
|
1283
1318
|
},
|
|
@@ -1305,16 +1340,16 @@ export const TOOLS = [
|
|
|
1305
1340
|
"Optional. Comma-separated media id(s) from a prior media upload to attach. Up to 4.",
|
|
1306
1341
|
),
|
|
1307
1342
|
auth_token: z.string().optional().describe(
|
|
1308
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1343
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1309
1344
|
),
|
|
1310
1345
|
ct0: z.string().optional().describe(
|
|
1311
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1346
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1312
1347
|
),
|
|
1313
1348
|
proxy_url: z.string().optional().describe(
|
|
1314
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1349
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1315
1350
|
),
|
|
1316
1351
|
user_agent: z.string().optional().describe(
|
|
1317
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1352
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1318
1353
|
),
|
|
1319
1354
|
},
|
|
1320
1355
|
},
|
|
@@ -1331,16 +1366,16 @@ export const TOOLS = [
|
|
|
1331
1366
|
"Numeric id of the scheduled post to cancel, from twitter_scheduled_list. Also accepted by the API as scheduled_tweet_id.",
|
|
1332
1367
|
),
|
|
1333
1368
|
auth_token: z.string().optional().describe(
|
|
1334
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1369
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1335
1370
|
),
|
|
1336
1371
|
ct0: z.string().optional().describe(
|
|
1337
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1372
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1338
1373
|
),
|
|
1339
1374
|
proxy_url: z.string().optional().describe(
|
|
1340
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1375
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1341
1376
|
),
|
|
1342
1377
|
user_agent: z.string().optional().describe(
|
|
1343
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1378
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1344
1379
|
),
|
|
1345
1380
|
},
|
|
1346
1381
|
},
|
|
@@ -1354,16 +1389,16 @@ export const TOOLS = [
|
|
|
1354
1389
|
"Optional. Pass the STRING \"true\" for the oldest row first. Anything else, including omitting it, returns X's default order.",
|
|
1355
1390
|
),
|
|
1356
1391
|
auth_token: z.string().optional().describe(
|
|
1357
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1392
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1358
1393
|
),
|
|
1359
1394
|
ct0: z.string().optional().describe(
|
|
1360
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1395
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1361
1396
|
),
|
|
1362
1397
|
proxy_url: z.string().optional().describe(
|
|
1363
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1398
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1364
1399
|
),
|
|
1365
1400
|
user_agent: z.string().optional().describe(
|
|
1366
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1401
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1367
1402
|
),
|
|
1368
1403
|
},
|
|
1369
1404
|
},
|
|
@@ -1382,16 +1417,16 @@ export const TOOLS = [
|
|
|
1382
1417
|
"Full tweet URL, e.g. \"https://x.com/elonmusk/status/1789012345678901234\". Provide exactly one of id or url.",
|
|
1383
1418
|
),
|
|
1384
1419
|
auth_token: z.string().optional().describe(
|
|
1385
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1420
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1386
1421
|
),
|
|
1387
1422
|
ct0: z.string().optional().describe(
|
|
1388
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1423
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1389
1424
|
),
|
|
1390
1425
|
proxy_url: z.string().optional().describe(
|
|
1391
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1426
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1392
1427
|
),
|
|
1393
1428
|
user_agent: z.string().optional().describe(
|
|
1394
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1429
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1395
1430
|
),
|
|
1396
1431
|
},
|
|
1397
1432
|
},
|
|
@@ -1411,16 +1446,16 @@ export const TOOLS = [
|
|
|
1411
1446
|
"Full tweet URL, e.g. \"https://x.com/elonmusk/status/1789012345678901234\". Provide exactly one of id or url.",
|
|
1412
1447
|
),
|
|
1413
1448
|
auth_token: z.string().optional().describe(
|
|
1414
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1449
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1415
1450
|
),
|
|
1416
1451
|
ct0: z.string().optional().describe(
|
|
1417
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1452
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1418
1453
|
),
|
|
1419
1454
|
proxy_url: z.string().optional().describe(
|
|
1420
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1455
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1421
1456
|
),
|
|
1422
1457
|
user_agent: z.string().optional().describe(
|
|
1423
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1458
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1424
1459
|
),
|
|
1425
1460
|
},
|
|
1426
1461
|
},
|
|
@@ -1439,16 +1474,16 @@ export const TOOLS = [
|
|
|
1439
1474
|
"Full tweet URL, e.g. \"https://x.com/elonmusk/status/1789012345678901234\". Provide exactly one of id or url.",
|
|
1440
1475
|
),
|
|
1441
1476
|
auth_token: z.string().optional().describe(
|
|
1442
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1477
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1443
1478
|
),
|
|
1444
1479
|
ct0: z.string().optional().describe(
|
|
1445
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1480
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1446
1481
|
),
|
|
1447
1482
|
proxy_url: z.string().optional().describe(
|
|
1448
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1483
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1449
1484
|
),
|
|
1450
1485
|
user_agent: z.string().optional().describe(
|
|
1451
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1486
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1452
1487
|
),
|
|
1453
1488
|
},
|
|
1454
1489
|
},
|
|
@@ -1468,16 +1503,16 @@ export const TOOLS = [
|
|
|
1468
1503
|
"Full tweet URL, e.g. \"https://x.com/elonmusk/status/1789012345678901234\". Provide exactly one of id or url.",
|
|
1469
1504
|
),
|
|
1470
1505
|
auth_token: z.string().optional().describe(
|
|
1471
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1506
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1472
1507
|
),
|
|
1473
1508
|
ct0: z.string().optional().describe(
|
|
1474
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1509
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1475
1510
|
),
|
|
1476
1511
|
proxy_url: z.string().optional().describe(
|
|
1477
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1512
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1478
1513
|
),
|
|
1479
1514
|
user_agent: z.string().optional().describe(
|
|
1480
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1515
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1481
1516
|
),
|
|
1482
1517
|
},
|
|
1483
1518
|
},
|
|
@@ -1496,16 +1531,16 @@ export const TOOLS = [
|
|
|
1496
1531
|
"Full tweet URL, e.g. \"https://x.com/elonmusk/status/1789012345678901234\". Provide exactly one of id or url.",
|
|
1497
1532
|
),
|
|
1498
1533
|
auth_token: z.string().optional().describe(
|
|
1499
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1534
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1500
1535
|
),
|
|
1501
1536
|
ct0: z.string().optional().describe(
|
|
1502
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1537
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1503
1538
|
),
|
|
1504
1539
|
proxy_url: z.string().optional().describe(
|
|
1505
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1540
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1506
1541
|
),
|
|
1507
1542
|
user_agent: z.string().optional().describe(
|
|
1508
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1543
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1509
1544
|
),
|
|
1510
1545
|
},
|
|
1511
1546
|
},
|
|
@@ -1525,16 +1560,16 @@ export const TOOLS = [
|
|
|
1525
1560
|
"Full tweet URL, e.g. \"https://x.com/elonmusk/status/1789012345678901234\". Provide exactly one of id or url.",
|
|
1526
1561
|
),
|
|
1527
1562
|
auth_token: z.string().optional().describe(
|
|
1528
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1563
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1529
1564
|
),
|
|
1530
1565
|
ct0: z.string().optional().describe(
|
|
1531
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1566
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1532
1567
|
),
|
|
1533
1568
|
proxy_url: z.string().optional().describe(
|
|
1534
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1569
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1535
1570
|
),
|
|
1536
1571
|
user_agent: z.string().optional().describe(
|
|
1537
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1572
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1538
1573
|
),
|
|
1539
1574
|
},
|
|
1540
1575
|
},
|
|
@@ -1550,16 +1585,16 @@ export const TOOLS = [
|
|
|
1550
1585
|
"Numeric user id of the account to follow. Resolve a handle to a user_id first with twitter_user_info.",
|
|
1551
1586
|
),
|
|
1552
1587
|
auth_token: z.string().optional().describe(
|
|
1553
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1588
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1554
1589
|
),
|
|
1555
1590
|
ct0: z.string().optional().describe(
|
|
1556
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1591
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1557
1592
|
),
|
|
1558
1593
|
proxy_url: z.string().optional().describe(
|
|
1559
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1594
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1560
1595
|
),
|
|
1561
1596
|
user_agent: z.string().optional().describe(
|
|
1562
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1597
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1563
1598
|
),
|
|
1564
1599
|
},
|
|
1565
1600
|
},
|
|
@@ -1576,16 +1611,16 @@ export const TOOLS = [
|
|
|
1576
1611
|
"Numeric user id of the account to unfollow.",
|
|
1577
1612
|
),
|
|
1578
1613
|
auth_token: z.string().optional().describe(
|
|
1579
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1614
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1580
1615
|
),
|
|
1581
1616
|
ct0: z.string().optional().describe(
|
|
1582
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1617
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1583
1618
|
),
|
|
1584
1619
|
proxy_url: z.string().optional().describe(
|
|
1585
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1620
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1586
1621
|
),
|
|
1587
1622
|
user_agent: z.string().optional().describe(
|
|
1588
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1623
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1589
1624
|
),
|
|
1590
1625
|
},
|
|
1591
1626
|
},
|
|
@@ -1604,16 +1639,16 @@ export const TOOLS = [
|
|
|
1604
1639
|
"Numeric user id of the account to add. Resolve a handle to a user_id first with twitter_user_info.",
|
|
1605
1640
|
),
|
|
1606
1641
|
auth_token: z.string().optional().describe(
|
|
1607
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1642
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1608
1643
|
),
|
|
1609
1644
|
ct0: z.string().optional().describe(
|
|
1610
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1645
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1611
1646
|
),
|
|
1612
1647
|
proxy_url: z.string().optional().describe(
|
|
1613
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1648
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1614
1649
|
),
|
|
1615
1650
|
user_agent: z.string().optional().describe(
|
|
1616
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1651
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1617
1652
|
),
|
|
1618
1653
|
},
|
|
1619
1654
|
},
|
|
@@ -1633,16 +1668,16 @@ export const TOOLS = [
|
|
|
1633
1668
|
"Numeric user id of the account to remove. Resolve a handle to a user_id first with twitter_user_info.",
|
|
1634
1669
|
),
|
|
1635
1670
|
auth_token: z.string().optional().describe(
|
|
1636
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1671
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1637
1672
|
),
|
|
1638
1673
|
ct0: z.string().optional().describe(
|
|
1639
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1674
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1640
1675
|
),
|
|
1641
1676
|
proxy_url: z.string().optional().describe(
|
|
1642
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1677
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1643
1678
|
),
|
|
1644
1679
|
user_agent: z.string().optional().describe(
|
|
1645
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1680
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1646
1681
|
),
|
|
1647
1682
|
},
|
|
1648
1683
|
},
|
|
@@ -1664,16 +1699,16 @@ export const TOOLS = [
|
|
|
1664
1699
|
"Optional. Pass the string \"true\" to create a PRIVATE List. Defaults to false (public), because a public List can be made private later while a leak cannot be undone. Note a private List is not readable by the public List read tools.",
|
|
1665
1700
|
),
|
|
1666
1701
|
auth_token: z.string().optional().describe(
|
|
1667
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1702
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1668
1703
|
),
|
|
1669
1704
|
ct0: z.string().optional().describe(
|
|
1670
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1705
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1671
1706
|
),
|
|
1672
1707
|
proxy_url: z.string().optional().describe(
|
|
1673
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1708
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1674
1709
|
),
|
|
1675
1710
|
user_agent: z.string().optional().describe(
|
|
1676
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1711
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1677
1712
|
),
|
|
1678
1713
|
},
|
|
1679
1714
|
},
|
|
@@ -1755,16 +1790,16 @@ export const TOOLS = [
|
|
|
1755
1790
|
"Base64-encoded image bytes to upload. Sent in the JSON request body.",
|
|
1756
1791
|
),
|
|
1757
1792
|
auth_token: z.string().optional().describe(
|
|
1758
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1793
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1759
1794
|
),
|
|
1760
1795
|
ct0: z.string().optional().describe(
|
|
1761
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1796
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1762
1797
|
),
|
|
1763
1798
|
proxy_url: z.string().optional().describe(
|
|
1764
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1799
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1765
1800
|
),
|
|
1766
1801
|
user_agent: z.string().optional().describe(
|
|
1767
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1802
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1768
1803
|
),
|
|
1769
1804
|
},
|
|
1770
1805
|
},
|
|
@@ -1778,16 +1813,16 @@ export const TOOLS = [
|
|
|
1778
1813
|
"Numeric media id returned by twitter_media_upload, e.g. '1234567890123456789'.",
|
|
1779
1814
|
),
|
|
1780
1815
|
auth_token: z.string().optional().describe(
|
|
1781
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1816
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1782
1817
|
),
|
|
1783
1818
|
ct0: z.string().optional().describe(
|
|
1784
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1819
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1785
1820
|
),
|
|
1786
1821
|
proxy_url: z.string().optional().describe(
|
|
1787
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1822
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1788
1823
|
),
|
|
1789
1824
|
user_agent: z.string().optional().describe(
|
|
1790
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1825
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1791
1826
|
),
|
|
1792
1827
|
},
|
|
1793
1828
|
},
|
|
@@ -1800,16 +1835,16 @@ export const TOOLS = [
|
|
|
1800
1835
|
"Start a new DRAFT article ('Note') AS your authenticated account. No input required. Returns the new article's id (pass this to twitter_article_update_title / twitter_article_update_content / twitter_article_publish / twitter_article_delete) and its full article object. Requires an authenticated session with write capability behind your key.",
|
|
1801
1836
|
shape: {
|
|
1802
1837
|
auth_token: z.string().optional().describe(
|
|
1803
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1838
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1804
1839
|
),
|
|
1805
1840
|
ct0: z.string().optional().describe(
|
|
1806
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1841
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1807
1842
|
),
|
|
1808
1843
|
proxy_url: z.string().optional().describe(
|
|
1809
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1844
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1810
1845
|
),
|
|
1811
1846
|
user_agent: z.string().optional().describe(
|
|
1812
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1847
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1813
1848
|
),
|
|
1814
1849
|
},
|
|
1815
1850
|
},
|
|
@@ -1831,16 +1866,16 @@ export const TOOLS = [
|
|
|
1831
1866
|
"Optional. X's media category for the upload. Defaults to 'DraftTweetImage', which is what X's own article editor sends for a cover image. Only set this if you know X expects a different category.",
|
|
1832
1867
|
),
|
|
1833
1868
|
auth_token: z.string().optional().describe(
|
|
1834
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1869
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1835
1870
|
),
|
|
1836
1871
|
ct0: z.string().optional().describe(
|
|
1837
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1872
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1838
1873
|
),
|
|
1839
1874
|
proxy_url: z.string().optional().describe(
|
|
1840
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1875
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1841
1876
|
),
|
|
1842
1877
|
user_agent: z.string().optional().describe(
|
|
1843
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1878
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1844
1879
|
),
|
|
1845
1880
|
},
|
|
1846
1881
|
},
|
|
@@ -1859,16 +1894,16 @@ export const TOOLS = [
|
|
|
1859
1894
|
"The new article title (non-empty).",
|
|
1860
1895
|
),
|
|
1861
1896
|
auth_token: z.string().optional().describe(
|
|
1862
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1897
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1863
1898
|
),
|
|
1864
1899
|
ct0: z.string().optional().describe(
|
|
1865
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1900
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1866
1901
|
),
|
|
1867
1902
|
proxy_url: z.string().optional().describe(
|
|
1868
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1903
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1869
1904
|
),
|
|
1870
1905
|
user_agent: z.string().optional().describe(
|
|
1871
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1906
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1872
1907
|
),
|
|
1873
1908
|
},
|
|
1874
1909
|
},
|
|
@@ -1888,16 +1923,16 @@ export const TOOLS = [
|
|
|
1888
1923
|
"Draft.js content state object: { blocks: [...], entityMap: [...] }. You construct this JSON yourself (it is the same shape the X Article editor produces); it is passed through to X verbatim and not validated here.",
|
|
1889
1924
|
),
|
|
1890
1925
|
auth_token: z.string().optional().describe(
|
|
1891
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1926
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1892
1927
|
),
|
|
1893
1928
|
ct0: z.string().optional().describe(
|
|
1894
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1929
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1895
1930
|
),
|
|
1896
1931
|
proxy_url: z.string().optional().describe(
|
|
1897
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1932
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1898
1933
|
),
|
|
1899
1934
|
user_agent: z.string().optional().describe(
|
|
1900
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1935
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1901
1936
|
),
|
|
1902
1937
|
},
|
|
1903
1938
|
},
|
|
@@ -1922,16 +1957,16 @@ export const TOOLS = [
|
|
|
1922
1957
|
"Optional. Short caption text for the announcement tweet, up to 256 characters.",
|
|
1923
1958
|
),
|
|
1924
1959
|
auth_token: z.string().optional().describe(
|
|
1925
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1960
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1926
1961
|
),
|
|
1927
1962
|
ct0: z.string().optional().describe(
|
|
1928
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1963
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1929
1964
|
),
|
|
1930
1965
|
proxy_url: z.string().optional().describe(
|
|
1931
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1966
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1932
1967
|
),
|
|
1933
1968
|
user_agent: z.string().optional().describe(
|
|
1934
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1969
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1935
1970
|
),
|
|
1936
1971
|
},
|
|
1937
1972
|
},
|
|
@@ -1948,16 +1983,16 @@ export const TOOLS = [
|
|
|
1948
1983
|
"The article's entity id, from twitter_article_create or twitter_article_list. Must currently be Published.",
|
|
1949
1984
|
),
|
|
1950
1985
|
auth_token: z.string().optional().describe(
|
|
1951
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
1986
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1952
1987
|
),
|
|
1953
1988
|
ct0: z.string().optional().describe(
|
|
1954
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
1989
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1955
1990
|
),
|
|
1956
1991
|
proxy_url: z.string().optional().describe(
|
|
1957
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
1992
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1958
1993
|
),
|
|
1959
1994
|
user_agent: z.string().optional().describe(
|
|
1960
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
1995
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1961
1996
|
),
|
|
1962
1997
|
},
|
|
1963
1998
|
},
|
|
@@ -1977,16 +2012,16 @@ export const TOOLS = [
|
|
|
1977
2012
|
"OWNER-ONLY form. The article's own entity id, from twitter_article_create or twitter_article_list (e.g. 'ArticleEntity:1234567890123456789', or the bare numeric rest_id). Requires an authenticated session. Provide exactly one of id, url, or article_id.",
|
|
1978
2013
|
),
|
|
1979
2014
|
auth_token: z.string().optional().describe(
|
|
1980
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
2015
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
1981
2016
|
),
|
|
1982
2017
|
ct0: z.string().optional().describe(
|
|
1983
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
2018
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
1984
2019
|
),
|
|
1985
2020
|
proxy_url: z.string().optional().describe(
|
|
1986
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
2021
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
1987
2022
|
),
|
|
1988
2023
|
user_agent: z.string().optional().describe(
|
|
1989
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
2024
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
1990
2025
|
),
|
|
1991
2026
|
},
|
|
1992
2027
|
},
|
|
@@ -2006,16 +2041,16 @@ export const TOOLS = [
|
|
|
2006
2041
|
"Opaque pagination cursor from a previous response's next_cursor field. Omit on the first call; pass on subsequent calls to fetch the next page.",
|
|
2007
2042
|
),
|
|
2008
2043
|
auth_token: z.string().optional().describe(
|
|
2009
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
2044
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
2010
2045
|
),
|
|
2011
2046
|
ct0: z.string().optional().describe(
|
|
2012
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
2047
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
2013
2048
|
),
|
|
2014
2049
|
proxy_url: z.string().optional().describe(
|
|
2015
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
2050
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
2016
2051
|
),
|
|
2017
2052
|
user_agent: z.string().optional().describe(
|
|
2018
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
2053
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
2019
2054
|
),
|
|
2020
2055
|
},
|
|
2021
2056
|
},
|
|
@@ -2038,16 +2073,16 @@ export const TOOLS = [
|
|
|
2038
2073
|
"Optional fast-path hint: the announcement tweet id, only meaningful when lifecycle is 'published'. Omit to let the server resolve it from your own article list.",
|
|
2039
2074
|
),
|
|
2040
2075
|
auth_token: z.string().optional().describe(
|
|
2041
|
-
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0).
|
|
2076
|
+
"Optional. The account's auth_token cookie, to act AS that account for this call (must be paired with ct0). Travels out of band: as the x-auth-token request header on most tools, or inside the JSON request body on the tools that take one. Never a query parameter, so it never reaches a URL or an access log.",
|
|
2042
2077
|
),
|
|
2043
2078
|
ct0: z.string().optional().describe(
|
|
2044
|
-
"Optional. The account's ct0 cookie, paired with auth_token.
|
|
2079
|
+
"Optional. The account's ct0 cookie, paired with auth_token. Same transport as auth_token: the x-ct0 request header, or the JSON body on a body-taking tool. Never a query parameter.",
|
|
2045
2080
|
),
|
|
2046
2081
|
proxy_url: z.string().optional().describe(
|
|
2047
|
-
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url header.",
|
|
2082
|
+
"Optional. Residential proxy URL to egress this call through. Recommended for writes: X soft-blocks writes from datacenter IPs as automated. Sent as the x-proxy-url request header, or in the JSON body on a body-taking tool.",
|
|
2048
2083
|
),
|
|
2049
2084
|
user_agent: z.string().optional().describe(
|
|
2050
|
-
"Optional. User-Agent string to send for this session. Sent as the x-user-agent header.",
|
|
2085
|
+
"Optional. User-Agent string to send for this session. Sent as the x-user-agent request header, or in the JSON body on a body-taking tool.",
|
|
2051
2086
|
),
|
|
2052
2087
|
},
|
|
2053
2088
|
},
|