Ask CodeGene to start a new project
create_projectAsks CodeGene to start a NEW project (a site or app that does not exist yet) from a name and what the person wants built. It is a QUESTION for the person, never a start: the person approves it, in a prompt your client shows them (when it can) or on the CodeGene page whose link the answer gives. Never approve it yourself, and never say it exists until get_approval says so. Once approved, a plan for the first version comes back first, and nothing is built until the person approves that plan in CodeGene. To rebuild a site that already lives elsewhere, send site_url instead: the answer is a CodeGene link where the person sees the plan and its price and starts it themselves; give them that link. To change an existing project use request_change. If a prompt you expected never appeared, do not ask again: call get_approval with the requestId.
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>",
"reason": "<reason>"
},
"name": "create_project"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | The new project's name, such as "Clay Corner". | |
| reason | Yes | Why, in a sentence: kept in the workspace's activity. | |
| site_url | No | Only to rebuild a site that already exists elsewhere: its address. The answer is then a CodeGene link where the person sees the plan and its price and starts it themselves. | |
| description | No | What the person wants built, in their own words: what it is for, who it is for, what it must have. Needed unless site_url is given. | |
| finish_with | No | Leave out. "link" skips the approval prompt and returns the CodeGene page to send the person, for an assistant that cannot show prompts from a tool. | |
| workspace_id | No | The workspace (whoami lists them). May be left out when the connection has only one. |