X Lists
x_listsManage X Lists: create, update, delete, follow or unfollow, add or remove members, and read timelines, members, and followers.
Instructions
Manage Lists and read their timelines: create, update, delete, look up, owned/memberships/pinned Lists, add/remove members, list members/followers/posts, follow/unfollow.
Actions (pass "action" plus that action's parameters):
create: Create a curated List. [requires: name]
update: Rename, re-describe or change the visibility of a List you own. [requires: list_id]
delete: Delete a List you own. [requires: list_id]
get: Fetch a List by id: name, description, owner, member/follower counts and visibility. [requires: list_id]
owned: Lists created by a user (defaults to the authenticated account), 1-100 per page.
memberships: Lists a user is a member of (defaults to the authenticated account), 1-100 per page.
pinned: Lists pinned to a user profile (defaults to the authenticated account).
add_member: Add a user to a List you manage. [requires: list_id, user_id]
remove_member: Remove a user from a List you manage. [requires: list_id, user_id]
posts: The timeline of a List, newest first (1-100 per page). [requires: list_id]
members: Users who belong to a List, 1-100 per page. [requires: list_id]
followers: Users who follow a List, 1-100 per page. [requires: list_id]
follow: Follow a List so its timeline appears in your Lists tab. [requires: list_id]
unfollow: Stop following a List. [requires: list_id]
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": {
"action": "<action>"
},
"name": "x_lists"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| action | Yes | Action to perform. One of: create, update, delete, get, owned, memberships, pinned, add_member, remove_member, posts, members, followers, follow, unfollow. | |
| list_id | No | Numeric List id. | |
| private | No | ||
| user_id | No | ||
| username | No | X handle without the @ prefix. | |
| next_token | No | Cursor from a previous response (meta.next_token). | |
| description | No | ||
| max_results | No |