Plans
Pricing tiers (2x/week, 3x/week, daily, …) — orthogonal to modality.
list_plans
Section titled “list_plans”| Argument | Type | Required | Notes |
|---|---|---|---|
limit | number | no | default 50, max 200 |
offset | number | no | default 0 |
Ordered by name ascending.
get_plan
Section titled “get_plan”| Argument | Type | Required |
|---|---|---|
id | uuid | yes |
create_plan
Section titled “create_plan”| Argument | Type | Required | Notes |
|---|---|---|---|
name | string | yes | |
weekly_frequency | integer | yes | ≥ 1 |
price | number | yes | ≥ 0, BRL |
update_plan
Section titled “update_plan”Same fields as create_plan, all optional, plus id (required).
delete_plan
Section titled “delete_plan”| Argument | Type | Required |
|---|---|---|
id | uuid | yes |
Fails if any contracts row still references this plan.