uichemy_update_designed_section
Replaces a section on the user's page with the redesign you wrote after uichemy_design_section with replace: same page, same position, new design. Its previous code, copy and pictures are replaced and not kept, so confirm with the user before rewriting a section they edited by hand. The file is checked like uichemy_add_designed_section and its copy becomes editable slots.
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": {
"projectId": "<projectId>",
"kind": "<kind>",
"templateId": "<templateId>",
"code": "<code>",
"replace": "<replace>"
},
"name": "uichemy_update_designed_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | The complete section .jsx file. | |
| kind | Yes | Section kind: hero, features, testimonials, pricing-table, cta, faq, team, gallery… | |
| replace | Yes | 1-based section being redesigned. | |
| pageName | No | Defaults to Home. | |
| projectId | Yes | ||
| templateId | Yes | The id uichemy_design_section gave. |