End subscription
purch_end_subscriptionRecord that a subscription ended because the person cancelled it with the vendor, with a reason. Periods after that are no longer expected. Saybooks cancels nothing with the vendor; it only stops expecting the charge. Cancelled is a fact the person states, not something the module infers: a subscription that stops charging shows as lapsed on its own, and stays that way until the person says it was cancelled. Record when, if they know, in the reason. Effects: subscription cancelled.
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": {
"subscription_id": "<subscription_id>",
"reason": "<reason>"
},
"name": "purch_end_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why, and when if you know. | |
| subscription_id | Yes | The subscription, e.g. SUB-0001. |