Route a private buy order
route_orderBuys stock tokens with shielded USDG by splitting the order into random pieces sent at random times to fresh addresses, so trades do not trace back to the agent's wallet.
Instructions
Buys a stock token with shielded USDG, split into pieces of random size sent at random times inside the window. Each piece goes to its own fresh address, so the trades do not trace back to the agent's wallet. Returns at once; pieces are sent in the background (check with get_orders / get_fills). Privacy is from other readers of the chain, not from Robinhood.
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": {
"token": "<token>",
"usdgAmount": "<usdgAmount>"
},
"name": "route_order"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Symbol of an allowlisted stock token, e.g. MSTK on testnet | |
| pieces | No | How many pieces (1 to 20) | |
| usdgAmount | Yes | Total USDG to spend | |
| windowMinutes | No | Spread the pieces over this many minutes | |
| maxSlippagePercent | No | Worst price accepted per piece, in percent |