dwlf_update_subscription
Update an existing DWLF subscription by changing only supplied fields, including toggling enabled to pause or resume alerts without deleting history.
Instructions
Update an existing subscription (PATCH). Only the fields you supply are changed; everything else is preserved. Most-used: toggle enabled to pause/resume without losing the subscription's history. Editable fields: enabled, symbols, timeframes, channels, quietHours, dedupeWindowMinutes, mode, strategyId, risk/accountBalance/maxConcurrentTrades overrides, and customEventId (custom_event subscriptions only). eventTypeId is NOT patchable — switching event class on an existing subscription requires delete+recreate.
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": {
"subscriptionId": "<subscriptionId>"
},
"name": "dwlf_update_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | ||
| enabled | No | Toggle active/paused without deleting. | |
| symbols | No | Replace the symbol scope. Pass ['*'] for wildcard across the account universe. | |
| channels | No | Replace the delivery channels array, e.g. [{ type: 'telegram', destination: { chatId: <number> }, enabled: true }]. It cannot be empty. | |
| quietHours | No | Quiet-hours window object, or null to clear. Detailed shape (start/end/timezone) is validated server-side. | |
| strategyId | No | ||
| timeframes | No | Replace the timeframe scope. Pass ['*'] for any. | |
| customEventId | No | Only valid on custom_event subscriptions — repoints which custom event the sub watches. The backend answers 400 if the sub isn't a custom_event. | |
| subscriptionId | Yes | The subscriptionId returned by create or list. | |
| dedupeWindowMinutes | No | Dedup window for repeat fires, or null to clear. A non-negative finite number. | |
| riskPerTradeOverride | No | ||
| accountBalanceOverride | No | ||
| maxConcurrentTradesOverride | No |