Move an account onto a dedicated IP
use_dedicated_ipRoutes the account's terminal through one of your dedicated IPs, or back to a direct connection with null. No password is needed: the terminal restarts on the new route with the one it has, and answers with status: connecting until it's back. Counts against the connect limit.
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_id": "<account_id>",
"dedicated_ip": "<dedicated_ip>"
},
"name": "use_dedicated_ip"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account_id | Yes | The account's ID. | |
| dedicated_ip | Yes | The ID of one of your dedicated IPs; null for a direct connection. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The account's ID. | |
| name | Yes | Its nickname, or the platform and login. | |
| role | Yes | Whether a copier uses it, and how. An account is never both. | |
| error | Yes | Why it's in `error` or `disconnected`, if known. | |
| login | Yes | The MetaTrader account number. | |
| object | Yes | What this object is. | |
| server | Yes | The broker's server. | |
| status | Yes | `connecting` while its terminal starts and logs in (two to three minutes), `connected` once it's ready, `error` when the login failed (see `error`), `disconnected` when its terminal lost the broker or was released. | |
| figures | Yes | ||
| nickname | Yes | Empty when none was given. | |
| platform | Yes | ||
| released | Yes | Its terminal was released after the subscription lapsed. The account and its history are kept: reconnect it to resume. | |
| can_trade | Yes | Whether it can place trades, so it can be a follower. Any account can be a master. | |
| created_at | Yes | ||
| proxy_type | Yes | The proxy's protocol; null without one. | |
| dedicated_ip | Yes | The dedicated IP its terminal reaches the broker from; null without one. | |
| proxy_address | Yes | The proxy its terminal reaches the broker through, as `host:port`; null for a direct connection. | |
| credential_kind | Yes | Which password it was connected with: `master` can trade, `investor` only reads. |