save_variant
Create or replace a CV variant to tailor your resume to a specific role, defining its title, summary, bullet points, and skills in one call.
Instructions
Create or replace a CV variant: the plan for one kind of role (title, summary, which
bullets and skills to show). Use it to set up a variant or tailor one to a job post; read the
current ones with list_variants first. It replaces the variant whole, so pass every field it
should define (list_variants → own shows them). A variant without extends needs title and
summary. Every reference is checked before saving. Returns saved and the variant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Variant id, e.g. backend. | |
| roles | No | Role id -> bullet ids to show, in order. | |
| title | No | One string, or one per language: {"en": "...", "es": "..."}. | |
| impact | No | Bullet ids for Selected Impact. | |
| skills | No | Skill groups: a label and skill names. | |
| extends | No | Variant to inherit from; set only what differs. | |
| profile | No | Path of the profile folder. Leave it out to use the server's default (--profile or HONEST_CV_PROFILE). | |
| summary | No | One string, or one per language: {"en": "...", "es": "..."}. | |
| max_pages | No | Page limit, usually 1 or 2. | |
| competencies | No | Short list of core competencies. | |
| publications | No | Publication ids to show, in order; [] shows none. Not set: all of them. |