site.update_header
Targeted helper to update site header/navbar (logo, navigation links, CTA button, phone, email) without touching the rest of the site.
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": {
"siteId": "<siteId>"
},
"name": "site.update_header"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| logo | No | Logo configuration object with url, alt, text | |
| No | Top bar or contact email | ||
| phone | No | Top bar or contact phone number | |
| header | No | Complete header sections array (optional) | |
| siteId | Yes | MongoDB Site ID | |
| addLink | No | Quick link to append to existing navbar, e.g. { label: 'Blog', href: '/blog' } | |
| navLinks | No | Array of navigation links [{ label: string, href: string }] | |
| ctaButton | No | CTA button configuration { text: string, href: string } | |
| removeLink | No | Label or href of link to remove from navbar (e.g. '/privacy' or 'Terms') |