generate_title
writeContent Creation & Optimization
Generate title-tag 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` or `current_title` is provided. |
| content | string | optional | Page content (text or HTML). When provided, takes precedence over stored meta. |
| current_title | string | optional | Explicit override for the existing title, 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 title. Auto-populated from target keywords found in the current title if omitted. |
| min_length | number | optional | Minimum title length (default 30). |
| max_length | number | optional | Maximum title length (default 70). |
| brand_suffix | string | optional | Brand suffix to append, e.g. "| Rampify". Optional. |
| num_candidates | number | optional | Max candidates to return (default 5). |