set_cancel_at_period_end_scheduled_charge
Set cancellation at period end for a recurring scheduled charge. Stops new cycles after the next paid cycle; reverse by setting enabled false.
Instructions
Toggle Stripe-style soft cancel on a recurring series. With enabled=true, the cycle generator stops emitting new cycles after the next paid cycle (the in-flight cycle still bills + can be paid). Reversible by passing enabled=false. Mutually exclusive with recurrence.endsAfter and recurrence.endsOn.
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>",
"enabled": "<enabled>"
},
"name": "set_cancel_at_period_end_scheduled_charge"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Scheduled charge ID | |
| enabled | Yes | true enables soft-cancel (series ends after the next paid cycle); false clears the flag. |