x_switch_account_and_act_task
Switch X accounts deterministically and execute a focused action such as opening a home page, opening a URL, or following a profile.
Instructions
Run a deterministic account switch followed by a focused action like open-home, open-url, or follow-profile.
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": {
"account": "<account>",
"action": "<action>"
},
"name": "x_switch_account_and_act_task"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | No | Required when action=open-url. | |
| action | Yes | One of: open-home, open-url, follow-profile. | |
| account | Yes | Target X account handle or visible switcher label. | |
| username | No | Required when action=follow-profile. |