update_site_custom_code
Modify custom code (CSS/JS/HTML) for the entire site, updating only specified fields. Requires reading existing code and user confirmation before applying changes.
Instructions
Update custom code (CSS/JS) for the entire site. Only sends fields you specify — others remain unchanged. IMPORTANT: Before calling, you MUST read existing code with get_site_custom_code first, then show the user what will change and get explicit confirmation. NEVER update without user approval.
code_before_head: HTML/script inserted before
code_before_body: HTML/script inserted before
code_custom_css: Custom CSS (auto-wrapped in )
code_custom_javascript: Custom JavaScript
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code_custom_css | No | Custom CSS for the site | |
| code_before_body | No | HTML/script to insert before </body> | |
| code_before_head | No | HTML/script to insert in <head> | |
| code_custom_javascript | No | Custom JavaScript for the site |