Ask CodeGene to change a site
request_changeAsks CodeGene's Builder for a change to a project: new content, a design change, a new feature, or something broken to fix. 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 or answer it yourself, and never tell the person it is done until get_approval says so. Once approved, a plan comes back first, and nothing on the site changes until the person approves that plan in CodeGene. Use list_tasks or get_task to follow it. If a prompt you expected never appeared, do not ask again: call get_approval with the requestId from an earlier answer, or ask with finish_with set to "link" next time.
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>",
"title": "<title>",
"reason": "<reason>"
},
"name": "request_change"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | A short request in the person's own words, such as "Add a contact form to the home page". | |
| detail | No | What the person described: what they want, where it goes and anything that matters. Leave out when the title says it all. | |
| reason | Yes | Why, in a sentence: kept in the workspace's activity. | |
| project_id | Yes | The project to change (list_projects gives ids). | |
| attachments | No | Files the change carries, by the attachment ids upload_task_files answered (att_...): a design's own folder as one zip, pictures, PDFs. | |
| 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. |