create_plan
Create subscription plans on the402.ai marketplace to bundle services at recurring prices for AI agents. Define plan details, pricing, and included services to monetize offerings.
Instructions
Create a subscription plan as a provider on the402.ai. Bundle one or more of your services at a recurring price. Agents can subscribe for monthly or annual access. Requires API key (provider account).
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": {
"name": "<name>",
"description": "<description>",
"price": "<price>",
"billing_period": "<billing_period>",
"service_ids": "<service_ids>"
},
"name": "create_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Plan name | |
| description | Yes | What the plan includes | |
| price | Yes | Recurring price in USD (e.g., '9.99') | |
| billing_period | Yes | Billing frequency | |
| service_ids | Yes | Service IDs included in this plan |