stripe_subscription
Subscriptions — read-only (cancelling is not available in this connector; do it from the Stripe dashboard).
Stripe has no "churning" status. Build it: cancel_at_period_end == true
on active subs (voluntary, scheduled), status == "past_due" or
"unpaid" (involuntary, payment failing), status == "canceled" with
canceled_at in the window (already gone).
"items" returns the subscription's lines, where price and quantity (seat counts) actually live for multi-product subscriptions.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "stripe_subscription"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | "list" (default) | "get" | "items". | list |
| _org | No | Org (id) de CET APPEL. `oto_list_orgs()`. | |
| limit | No | 1-100 (default 100). starting_after: pagination cursor. | |
| _group | No | Équipe (id) de CET APPEL, sous son org parente. | |
| status | No | "list" filter. ⚠️ WITHOUT it Stripe returns only active and trialing subscriptions — cancelled ones silently disappear, which is exactly wrong for a churn question. Pass "all" to see everything. | |
| _run_id | No | OBLIGATOIRE à chaque appel dès `run_start` ou `data_claim_next` : sans lui, l'écriture sur une ligne réservée est refusée. Hérité seulement si le serveur tient un run actif — n'y compte pas. | |
| _project | No | Projet (id) de CET APPEL — jeton PRIMAIRE. `oto_project(op='list')`. | |
| price_id | No | ||
| _instance | No | Instance de connecteur PRÉCISE (un credential exact). `oto_instance(op='list')`. | |
| customer_id | No | ||
| starting_after | No | ||
| subscription_id | No | REQUIRED by "get"/"items" (`sub_…`). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |