Update Subscription
update_subscriptionUpdate one or more writable fields on an existing subscription. nextPaymentDate is authoritative; monthly schedules preserve billingAnchorDay across short months. Confirm with the user before calling (riskLevel: medium). Requires the 'write' API key scope. Use when: The target subscription has been identified and the user asks to change amount, category, currency, period, nextPaymentDate, customDate, name, notificationEnabled, isTrial, or trialEndsOn. Do not use when: The user wants to permanently remove the record. Use delete_subscription after explicit confirmation. Do not claim you can configure Bark URL/device key, send a test push, change timeZone/locale, or manage the category catalog. Those stay in the web app. If the user asks to paste a Bark URL or run a test push, refuse and point them to Settings → Notifications in the web app, and to the reminders guide at /docs/en/user-guide/reminders (Chinese: /docs/zh-CN/user-guide/reminders). After Bark is configured on the web, you may toggle enabled/daysBefore and per-subscription notificationEnabled.
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": {
"id": "<id>",
"patch": "<patch>"
},
"name": "update_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Subscription id returned by list_subscriptions or create_subscription. | |
| patch | Yes |