List Saved X Communities
list_x_communitiesList the Communities saved for one connected X account. Present their names to the user. To publish, pass the selected name as publish_post platformOptions.communityName; keep communityId as an internal fallback only when names are ambiguous.
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": {
"accountId": "<accountId>"
},
"name": "list_x_communities"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Connected X account ID returned by list_accounts |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| communities | Yes |