Mark a recurring charge
set_subscription_stateUse this only when the person tells you about a recurring charge: they cancelled it, it is not a subscription (for example rent or a loan), or they don't want alerts about it. Takes the recurrenceKey from get_recurring_charges or get_upcoming_charges. Cancelled, or not a subscription, leaves the charge out of recurring lists, upcoming charges and heads-ups; ignored keeps it listed without alerts; null clears the person's earlier choice. This does not cancel anything at the merchant.
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": {
"recurrenceKey": "<recurrenceKey>",
"state": "<state>"
},
"name": "set_subscription_state"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | cancelled, ignored, not_subscription, or null to clear. | |
| recurrenceKey | Yes | recurrenceKey from get_recurring_charges or get_upcoming_charges. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | Yes | ||
| recurrenceKey | Yes |