Show a project's plans and where to buy one
start_planShows the plans a project can buy, with their prices, what each includes and the plan it already has, and returns checkoutUrl: the CodeGene page where the person picks a plan, agrees to the Terms and pays. It also returns addOns: what the project can hold beside its plan, never instead of it (such as a large machine for heavy builds), each with its price, what it includes, whether the project has it (held) and buyUrl, where it is bought (null while no CodeGene page sells it: then say it cannot be bought yet). It buys nothing and you cannot buy for them: quote the prices exactly as returned and give the person the link. Only a workspace owner or admin can buy (canBuy says whether this person can).
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": {
"project_id": "<project_id>"
},
"name": "start_plan"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| project_id | Yes | The project the plan is for (list_projects gives ids). | |
| workspace_id | No | The workspace (whoami lists them). May be left out when the connection has only one. |