Sync strategy to settings (replaces live allocation)
sync_strategy⚠️ Replaces live state: re-applies the strategy's allocation and instructions onto the live trading account's autotrade settings, replacing the current ones while trading stays active — the account starts trading the new configuration immediately. Confirm with the user first. Re-sync autotrade settings with a linked strategy. When a strategy is updated after being linked, the settings become out of sync. Call this to re-apply the strategy's latest configuration onto the live trading account. Requires the trade scope when connected with OAuth (it changes what the account trades).
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": {
"strategyId": "<strategyId>"
},
"name": "sync_strategy"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| userId | No | The user ID. Optional when connected with OAuth (defaults to the authorized user); required with an API key (call get_me). | |
| strategyId | Yes | The strategy ID to sync |