x_bookmark_set
Add or remove a post from your private X bookmarks using a numeric post ID or full status URL, with the resulting bookmarked state returned.
Instructions
X (Twitter): add a post to the authenticated user's bookmarks or remove it. Bookmarks are private to the user — never visible to other accounts. post accepts a numeric post id or a full status URL; action selects add or remove. A reversible engagement write — the result reports the resulting bookmarked state. (disabled by policy read-only)
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"post": "<post>",
"action": "<action>"
},
"name": "x_bookmark_set"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| post | Yes | Target post: a numeric post id or a full status URL (e.g. https://x.com/u/status/1). | |
| action | Yes | Whether to add or remove the bookmark. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| meta | Yes | ||
| summary | No |