Cancel subscription
agenta_subscriptions_cancelCancel a subscription at the end of the paid period by default, or immediately to stop future billing.
Instructions
Cancel a subscription (at period end by default). Cancels one subscription. By default it stays active until the end of the paid period; set immediately to end it now. Ask the merchant before calling this.
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": "agenta_subscriptions_cancel"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | The subscription id | |
| now | No | Cancel immediately instead of at the end of the current period | |
| business | No | Act for this business you manage (its id). Omit to act as yourself. |