Update Footer
update_footerUpdate the site footer — layout, social links, tagline, background colour.
Annotations: read-only=false, destructive=true, idempotent=true, open-world=false. Why: Overwrites the draft's footer content — non-additive, so destructive by the MCP definition; idempotent; closed-world. The live site changes only when the user confirms publish_site; the draft stays editable in the Zarla editor.
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": {
"site_id": "<site_id>"
},
"name": "update_footer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| site_id | Yes | ||
| tagline | No | Footer tagline or description | |
| variant | No | ||
| background | No | Footer background — "default" (the page colour) | "alt" (soft) | "primary" (the brand colour) | "dark" (dark surface). Null clears it (the classic brand-coloured footer). Choosing a preset also clears any custom colour. | |
| social_links | No | ||
| background_color | No | Custom footer colour as a 6-character hex; overrides the preset. Null clears it. Text adapts automatically. |