Cancel a subscription
cancel_subscriptionIRREVERSIBLE: Cancel a subscription
Cancels at the end of the term: everything keeps working until endDate, then the plan ends.
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": {
"subscriptionId": "<subscriptionId>",
"body": "<body>"
},
"name": "cancel_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes | The request fields as one JSON object. | |
| confirm | No | Leave out on the first call. EchoCall then answers with a confirmation value. Ask the user for a clear yes, then repeat the call with the same arguments and this value. | |
| subscriptionId | Yes | subscriptionId |