Replace a preference set
update_preferencesReplace one of YOUR preference sets (requires api:account). kind=market_brief takes market_brief; kind=trade_routing takes trade_routing. Each REPLACES THE WHOLE SET: a field you leave out goes back to its default. So call get_preferences with the same kind first, change only what the user asked for, and send the whole set back. The response echoes what was stored. market_brief: hidden_rows ({category: [row ids]}, categories global | crypto | fx | commodities | sectors | bonds, ≤64 ids each), crypto_rows (3-12), display ({timeframe: 1d | 5d | 1m | 3m | ytd | 1y, view: list | bars | lines, layout: grid | full}), opportunity_hidden_subjects (asset:… subject ids, ≤256), opportunity_hidden_asset_classes (equity | crypto | commodity | fx | index | prediction) and opportunity_hyperliquid_only. Set advisory_timeframe_only=true to update just advisory_timeframe without replacing brief settings. Omitting advisory_timeframe preserves it; explicitly including it in a normal full-set write updates it. advisory_timeframe (ltf | mtf | htf, or null to follow the quiz) highlights one suggestion while keeping all alternatives visible; it does not change automated holding rules. trade_routing: default_destination (hyperliquid | brokerage) and symbol_overrides ({TICKER: hyperliquid | brokerage}, ≤200, US tickers only) — it preselects the trade ticket's destination; it never routes or places an order. The trading profile (risk caps, agent mode, chat execution) cannot be changed here.
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": {
"kind": "<kind>"
},
"name": "update_preferences"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| market_brief | No | REQUIRED for kind=market_brief: the whole set | |
| trade_routing | No | REQUIRED for kind=trade_routing: the whole set |