Create Plan
plan_createCreates a Plan Builder plan as a draft: merchants do not see it
until plan_activate. Requires name (unique per app) and
price_monthly in USD (0 for a free plan). Optional description,
price_yearly (needs a monthly price above 0, and no usage pricing),
trial_days, features (each feature_id from features_list, and
a value for a number feature) and events (per-plan usage terms
for events from events_list; at most one with an overage_rate
above 0). Takes the app_id returned by apps_list. Returns the same
shape as one plans_list entry.
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": {
"app_id": "<app_id>",
"name": "<name>",
"price_monthly": "<price_monthly>"
},
"name": "plan_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Plan name, unique among the app's plans. | |
| app_id | Yes | The app uuid returned by `apps_list`. | |
| events | No | The plan's per-event usage terms. Replaces the plan's whole list. At most one event may have an overage rate above 0, and a plan that charges for usage cannot have a yearly price. | |
| features | No | The features this plan grants. Replaces the plan's whole list: send every feature the plan should keep. An empty list removes them all. | |
| trial_days | No | Optional free trial length in days (min 0). | |
| description | No | Optional description shown with the plan. | |
| price_yearly | No | Optional yearly price in USD (min 0.01). Needs a monthly price above 0, and no usage pricing. | |
| price_monthly | Yes | Monthly price in USD (min 0). 0 for a free plan. | |
| organization_id | No | An organisation uuid or slug. When supplied, `app_id` is resolved within that organisation and may be a slug instead of a uuid, mirroring the Meridian web app. |