ClockNext: archive credit
clocknext_archive_creditDeactivate a credit type to retire it from your catalogue without deleting it. Existing plans and usage remain active; only new assignments are blocked. Reversible.
Instructions
Deactivate a credit TYPE in your catalogue (sets isActive→false) — ClockNext's soft archive, NOT a delete. The credit and its history are kept; recorded usage and any plan already granting it keep working (update those plans with clocknext_update_plan to stop offering it). It simply can't be added to new plans and drops out of active lists. Reversible: reactivate via clocknext_update_credit with isActive:true (a full rewrite) — there is no separate un-archive tool. Use ONLY to retire a credit you no longer sell. This does NOT delete anything and is unrelated to archiving a customer, ending a purchase, or clearing a balance.
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>"
},
"name": "clocknext_archive_credit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The credit id to deactivate (soft-archive — reversible, not a delete). |