uichemy_design_section
Design a NEW section for an existing project the way the UiChemy editor's Designer agent does: returns the Designer's own design skill (taste rules and the technical contract for UiChemy React sections), a template id, the business brief, the page's section outline, and the code and copy of the sections next to the spot, so the new section matches the site. You then write the section file and save it with uichemy_add_designed_section. Pass replace instead of position to redesign a section that is already there (saved with uichemy_update_designed_section). Changes nothing.
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>",
"request": "<request>"
},
"name": "uichemy_design_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Section kind: hero, features, testimonials, pricing-table, cta, faq, team, gallery… | |
| replace | No | 1-based section to redesign instead of adding. | |
| request | Yes | What the user wants, in their words. | |
| pageName | No | Defaults to Home. | |
| position | No | 1-based place for the new section. Omitted = before the footer, or at the end. | |
| projectId | Yes |