follow_user
Follow any X user by providing their user ID or username. Automate account engagement through the API.
Instructions
Follow a user on X programmatically via API
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "follow_user"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| user_id | No | Numeric ID of the account to follow. Provide either user_id or username. | |
| username | No | Handle (without @) of the account to follow. Provide either user_id or username. |