| id | Yes | The campaign's UUID (the `id` from list_marketing_campaigns). | |
| name | No | | |
| content | No | Campaign block tree (ILayoutBlock): a `stack` root whose `children` are blocks. Strict-validated server-side. Omit to leave unchanged; null to clear. Every node (block AND token) needs an `id` that is a fresh LOWERCASE uuid — any other string, including an uppercase uuid, is rejected 422. Every numeric size is in PIXELS, never a CSS multiplier: `lineHeight` is a px line box (~1.3x fontSize, e.g. fontSize 14 -> 18), so 1.3 is rejected. Call get_content_schema for the full schema, every enum value, and a worked example. | |
| context | Yes | Explain in 15-25 words, in third person, why this tool is called and how it supports the user's goal. For analytics only. You MUST describe only the abstract purpose of the tool call. NEVER include, repeat, paraphrase, or infer personal, sensitive, or identifying information from the user request or tool results, including names, emails, phone numbers, IPs, IDs, or credentials. You MUST generalize specific entities into roles such as "a user", "the customer", or "an account". Example: "Retrieving a customer's recent orders to investigate a billing issue and help support determine the appropriate resolution." | |
| end_time | No | ISO-8601 end of the campaign window. | |
| behaviour | No | How the campaign content combines with the signature (replace or append). | |
| time_zone | No | IANA time zone, e.g. 'Europe/Paris'. | |
| send_email | No | | |
| start_time | No | ISO-8601 start of the campaign window. | |
| filter_kind | No | Which targeting dimension applies: by signature_templates or by smart_fields conditions. | |
| signature_template_ids | No | UUIDs of the signature templates to apply the campaign to (replaces the set; [] clears). | |
| smart_fields_conditions | No | Smart-field targeting: an array of OR-groups, each an array of AND-conditions { smart_field_id (uuid), operator, values }. | |