Render optimized cv
render_optimized_cvRender a CV and return a link an agent can actually fetch — the missing last step before uploading to a portal. Pass cv_id for an optimized CV, or personnel_id for the person's own record. format is pdf (the default, unchanged) or docx. Word matters because agencies rebuild the CV under their own cover sheet and ask for an editable file; a PDF-only system cannot serve that channel at all. The docx is editable flowing text, not pictures of text, and it comes from the SAME generation the web interface uses, so the two formats cannot drift apart. letterhead, max_projects and profile_key work the same for both. For an OPTIMIZED CV the project order is kept as the optimization arranged it; sorting by date would throw away exactly that work (ticket 1c0509bc). The link is signed and valid for fifteen minutes.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "render_optimized_cv"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cv_id | No | An optimized CV from generate_optimized_cv. | |
| format | No | pdf (default) or docx. Word has no page count until Word breaks the document. | |
| letterhead | No | Set on the tenant letterhead. Default true; false gives a plain sheet for portals that reject branding. | |
| profile_key | No | ||
| max_projects | No | Cap on projects — procedures often limit the CV to two pages. | |
| personnel_id | No | The person's own record, if no optimized CV is meant. |