bettbox_update_subscription
Downloads fresh configs for named subscriptions, validates structure, and atomically replaces profile YAML without stopping Bettbox. Supports validate-only dry runs and optional metadata sync.
Instructions
Download fresh configs for the named subscriptions and write them to disk.
Mirrors the app's per-profile refresh: fetch the URL through the proxy,
normalise tab indentation, validate the structure, then atomically replace
profiles/<id>.yaml. The app does not need to be stopped.
Args:
params (UpdateSubscriptionInput): profiles (ids or labels),
sync_metadata to also refresh dates/quotas (needs a restart),
validate_only to dry-run.
Returns:
str: Per-profile result: ok, changed, bytes, nodes,
error. Ends with whether a restart happened.
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": {
"params": "<params>"
},
"name": "bettbox_update_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| params | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |