page.theme.update
ActiveTool of Create Web Page
Apply a partial theme patch. Theme fields are enum-constrained (button variant/radius/shadow, font family/weight, density, icon_size). Use presets.list first if the user wants a complete restyle. For already-published pages, this saves an unpublished latest revision only. Do not call page.publish in the same assistant turn after this edit. Stop and tell the user the draft/preview was updated, then wait for a separate user message that explicitly asks to update the live link, publish, or make the changes public before calling page.publish. Do NOT call page.unpublish either — the live page should stay public; only unpublish when the user explicitly asks to take it down.
Parameters schema
{
"type": "object",
"required": [
"pageId",
"theme"
],
"properties": {
"theme": {
"type": "object",
"properties": {
"font": {
"type": "object",
"required": [
"family",
"weight"
],
"properties": {
"family": {
"enum": [
"inter",
"geist",
"fraunces",
"space-grotesk",
"karla"
],
"type": "string"
},
"weight": {
"enum": [
"regular",
"medium",
"bold"
],
"type": "string"
}
},
"description": "Font style. When supplied, include family and weight.",
"additionalProperties": false
},
"button": {
"type": "object",
"required": [
"variant",
"radius",
"shadow"
],
"properties": {
"radius": {
"enum": [
"sharp",
"soft",
"pill"
],
"type": "string"
},
"shadow": {
"enum": [
"none",
"soft",
"hard"
],
"type": "string"
},
"variant": {
"enum": [
"solid",
"outline",
"soft"
],
"type": "string"
}
},
"description": "Button style. When supplied, include variant, radius, and shadow.",
"additionalProperties": false
},
"density": {
"enum": [
"compact",
"comfortable",
"roomy"
],
"type": "string"
},
"icon_size": {
"enum": [
"sm",
"md",
"lg"
],
"type": "string"
},
"background": {
"oneOf": [
{
"type": "object",
"title": "solid",
"required": [
"type",
"color"
],
"properties": {
"type": {
"enum": [
"solid"
],
"type": "string"
},
"color": {
"type": "string",
"description": "CSS color: hex, rgb()/rgba(), hsl()/hsla(), or named color."
},
"filter": {
"enum": [
"none",
"blur",
"dim"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"title": "gradient",
"required": [
"type",
"from",
"to"
],
"properties": {
"to": {
"type": "string",
"description": "CSS color: hex, rgb()/rgba(), hsl()/hsla(), or named color."
},
"from": {
"type": "string",
"description": "CSS color: hex, rgb()/rgba(), hsl()/hsla(), or named color."
},
"type": {
"enum": [
"gradient"
],
"type": "string"
},
"angle": {
"type": "number",
"maximum": 360,
"minimum": 0
},
"filter": {
"enum": [
"none",
"blur",
"dim"
],
"type": "string"
}
},
"additionalProperties": false
},
{
"type": "object",
"title": "image",
"required": [
"type",
"src"
],
"properties": {
"src": {
"type": "string",
"description": "Background image URL."
},
"type": {
"enum": [
"image"
],
"type": "string"
},
"filter": {
"enum": [
"none",
"blur",
"dim"
],
"type": "string"
},
"overlay": {
"type": "string",
"description": "CSS color: hex, rgb()/rgba(), hsl()/hsla(), or named color."
}
},
"additionalProperties": false
}
],
"description": "Page background. If supplied, include the background type and its required fields."
},
"text_color": {
"type": "string",
"description": "CSS color: hex, rgb()/rgba(), hsl()/hsla(), or named color."
},
"accent_color": {
"type": "string",
"description": "CSS color: hex, rgb()/rgba(), hsl()/hsla(), or named color."
},
"muted_text_color": {
"type": "string",
"description": "CSS color: hex, rgb()/rgba(), hsl()/hsla(), or named color."
}
},
"description": "Partial theme patch. Provide only fields you want to change.",
"additionalProperties": false
},
"pageId": {
"type": "string",
"format": "uuid"
},
"editToken": {
"type": "string"
}
},
"additionalProperties": false
}No endpoints wrapped at confidence ≥ 0.50.
Parent server
Create Web Page
https://github.com/daniel-lopez-puig/landings
1/7 registries