Add a plan
create_planAdds a plan to one of the user's listings, above its others, such as Pro above the listing's
own price and code. It includes everything below it, so it costs more than every plan below
it, and a buyer of a lower plan can upgrade for the difference from what they paid. The
listing's first plan names its base plan too (base_plan_name, such as Standard). While the
listing sells updates, each plan needs an updates price too. A plan can come with code of its
own, from a connected repository (repository_id) or a git URL (source_url), or one folder
of either (folder), which is left out of the other plans' code; or with none, for a plan
that's a different license or support. Never set its prices yourself; ask the user.
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": {
"input": "<input>",
"context": "<context>"
},
"name": "create_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| input | Yes | ||
| context | Yes | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. Never include personal data, such as names, email addresses or message text; refer to people by role, such as "the user" or "a buyer". |