cv_tailor
Starts tailoring a CV to a job vacancy and returns the tailored CV id, reopening an existing copy for the same job. Requires an uploaded résumé and one AI credit on first creation.
Instructions
Start tailoring a CV to a vacancy, returning the tailored CV's id (plus the base it was copied from and the bound session). Idempotent per vacancy — calling it again for the same slug reopens the copy that already exists, so it is safe when you do not know whether one exists. It spends one of the candidate's AI credits the first time it creates the copy (402 when the balance will not cover it) and 409s when they have no résumé on the site to seed a base CV from — tell them to upload one; you cannot. It does not call a model: the reframing is your work, through cv_context and cv_edit.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_slug | Yes | The job's public slug (from search or facets results). |