AI agents use account_transfer to commit financial operations through Okx Trade — usually the final step of a payment, billing, or trading workflow. A call moves real money.
| Parameter | Type | Required | Description |
|---|---|---|---|
to | string | Yes | Destination account: 6=funding, 18=trading (unified) |
amt | string | Yes | Transfer amount |
ccy | string | Yes | e.g. USDT |
from | string | Yes | Source account: 6=funding, 18=trading (unified) |
type | string | — | 0=main account (default), 1=main->sub, 2=sub->main, 3=sub->sub |
subAcct | string | — | Sub-account name. Required when type=1/2/3 |
clientId | string | — | Client ID (max 32 chars) |
Parameters from the server's own tool schema.
This tool directly transfers money between accounts on an exchange platform. It commits financial obligations and moves actual funds, making it the most severe category. The explicit warning about moving real funds and the context of the OKX cryptocurrency exchange confirms the financial impact. Misuse by an AI agent could result in unintended transfers of substantial value.
From the tool's definition Tool description explicitly states 'Transfer funds between accounts' and includes '[CAUTION] Moves real funds.' The presence of 'real funds' indicates actual monetary value is being moved.
Attacks that exploit this kind of access
Transfer funds between accounts (trading, funding, etc.). [CAUTION] Moves real funds. It is categorised as a Financial tool in the Okx Trade MCP Server, which means it involves financial transactions. Block by default and require explicit approval.
account_transfer accepts 7 parameters: to, amt, ccy, from, type, subAcct, clientId. Required: to, amt, ccy, from. The full parameter table on this page comes from the server's own tool schema.
Register the Okx Trade MCP server in PolicyLayer and add a rule for account_transfer: allow, deny, rate-limit, or require approval. Point your MCP client at the PolicyLayer proxy URL and the rule is enforced on every call, before it reaches Okx Trade. Nothing to install.
account_transfer is a Financial tool with critical risk. Critical-risk tools should be blocked by default and only enabled with explicit human approval.
Yes. Add a rate_limit block to the account_transfer rule in your PolicyLayer policy. For example, setting max: 10 and window: 60 limits the tool to 10 calls per minute. Rate limits are tracked per agent session and reset automatically.
Set action: deny in the PolicyLayer policy for account_transfer. The AI agent will receive a policy violation error and cannot call the tool. You can also include a reason field to explain why the tool is blocked.
account_transfer is provided by the Okx Trade MCP server (@okx_ai/okx-trade-mcp). PolicyLayer sits as a proxy in front of this server to enforce policies before tool calls reach the server.
Every MCP server has a record like this.
Type a name, get the same breakdown: verified identity, auth posture, risk grade, capabilities, recommended policy.
Teams ship this data inside their own products. See what a licence covers →