manage_plan
Modify or remove subscription plans on the402.ai marketplace. Requires plan owner authentication to update details or delete plans.
Instructions
Update or delete a subscription plan on the402.ai. Only the provider who created the plan can modify it. Requires API key (plan owner).
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": {
"plan_id": "<plan_id>",
"action": "<action>"
},
"name": "manage_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| plan_id | Yes | The plan ID | |
| action | Yes | update = modify plan details, delete = remove plan | |
| name | No | New plan name (for update) | |
| description | No | New description (for update) | |
| price | No | New price (for update) |