Tools /

Start or change subscription

Create a subscription to a plan and return a secure Razorpay payment link for the user to open and pay. The assistant never pays or sees card details. The plan activates automatically once payment completes; when switching plans, the old subscription is cancelled then.

start_subscription

Plan
All plans
Usage
Free
Effect
Changes your account

Parameters

ParameterTypeDescription
planrequiredenumtier1 = Basic, tier2 = Pro, tier3 = Unlimited."tier1" · "tier2" · "tier3"
periodrequiredenumBilling period."weekly" · "monthly" · "yearly"

Example

You ask your assistant:

“Upgrade me to Pro, billed yearly.”

It calls start_subscription with:

arguments
{
  "plan": "tier2",
  "period": "yearly"
}

and gets back:

result
Open this link to pay ₹6,999/year for Pro: https://rzp.io/i/…