Add List Member
x_add_list_memberAdd a user to an X list using their username and list ID. Simplifies list management by directly adding members through the X API.
Instructions
Add a user to a list by their username and the 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": {
"list_id": "<list_id>",
"username": "<username>"
},
"name": "x_add_list_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| list_id | Yes | The ID of the list | |
| username | Yes | X username (without @ symbol) |