append_site_custom_code
Append or prepend new CSS, JavaScript, or script tags to storefront custom code fields without reading existing content first. Ideal for incremental additions.
Instructions
Append or prepend code to a custom code field WITHOUT reading the existing content first. Use this when you need to ADD new CSS rules, JS code, or script tags — no need to read first. For full rewrites, use update_site_custom_code instead.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Code to add | |
| field | Yes | Which code field to modify | |
| position | No | Add to end (append) or beginning (prepend) | append |