uichemy_set_global_section
Share one section across pages — the editor's "Attach to a global". Every page's section of that kind renders the same layout, and because copy and images belong to the layout, they share the same words and pictures too: write them once. Globalness in the editor is per KIND across the whole site, so pages must cover every page that has the kind (or be "all"). Pass variant to put every instance on one layout first; omitted, they must already agree. global: false detaches the kind so instances can differ again.
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>"
},
"name": "uichemy_set_global_section"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | Section kind, e.g. navbar, footer, cta. | |
| pages | No | Default "all". | |
| global | No | Default true. | |
| variant | No | Layout every instance should render. | |
| projectId | Yes |