Set custom instructions for a style
set_style_instructionsSave drafting rules—like always include a CTA or avoid pricing talk—for a style. Apply them globally or to a specific style, and automatically merge them into style guides.
Instructions
Save free-text drafting rules layered on top of a style's voice: required elements ('always include a CTA'), audience notes, forbidden topics, format constraints, anything that isn't about sentence rhythm or tone. Overwrites whatever was saved for this scope. Without styleId, this sets the global instructions, which apply to every style. With styleId, it only applies to that specific style, merged after the global instructions (get_style_guide returns the merged result automatically). Use this when the user says something like 'for this style, always end with a CTA' or 'remember: never mention pricing in emails'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| styleId | No | Style id to scope this to, from list_styles. Omit to set the global instructions. | |
| instructions | Yes | The full instructions text for this scope, replacing whatever was there. |