prepare_rebalance
Generate a precise rebalance plan from live market data, validate each order against the notional cap, and return a confirmation token with the exact execution plan for approval.
Instructions
STEP 1 of 2 to EXECUTE a portfolio rebalance as MARKET orders. Recomputes the plan from live data, checks every order against the notional cap, and returns a confirmation token plus the exact plan that will run. Show the plan to the user before confirming.
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": {
"target_weights_json": "<target_weights_json>"
},
"name": "prepare_rebalance"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| threshold | No | ||
| target_weights_json | Yes |