set_template_slot
Persist an array of page-scoped template slots in a batched DESIGN.md update. Define selectors and fixed/flexible display roles for all slots in one call.
Instructions
Persist an array of page-scoped template slots in one batched DESIGN.md update. fixed/flexible roles and allowedTokens are cooperative advisory metadata: display labels only, not enforced.
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": {
"page": "<page>",
"slots": "<slots>"
},
"name": "set_template_slot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | Page pathname, matching location.pathname | |
| slots | Yes | All template slots to persist in this batched call | |
| template_id | No | Template identifier; defaults to default | default |