generate_description
writeContent Creation & Optimization
Generate meta description candidates with safety verification.
Write tool
Mutates Rampify state, triggers background work, or calls a paid external API. Most clients ask for confirmation before invoking.
Parameters
| Parameter | Type | Description | |
|---|---|---|---|
| domain | string | optional | Site domain |
| project_id | string | optional | Project UUID |
| url_path | string | optional | Page URL path. Optional when `content` is provided. |
| content | string | optional | Page content (text or HTML). When provided, takes precedence over stored meta. |
| current_description | string | optional | Explicit override for the existing meta description, used as the must_retain baseline when content can't supply it. |
| must_include_keywords | string[] | optional | Keywords every candidate must contain. Defaults to the URL's primary target keyword when url_path is provided. |
| must_retain_keywords | string[] | optional | Keywords that cannot be dropped if present in the current description. Auto-populated from target keywords found in the current description if omitted. |
| min_length | number | optional | Minimum description length (default 110). |
| max_length | number | optional | Maximum description length (default 160 — SERP snippet fit). |
| num_candidates | number | optional | Max candidates to return (default 5). |