resume_preview
Render structured resume content as a live A4 browser page that refreshes automatically as edits are made, so you can revise wording without re-exporting.
Instructions
Render a resume from structured content and open it in the browser with live reload. The content is rendered as an A4 page and the browser refreshes automatically every time the content is updated, so you can iterate on the wording without re-exporting. All content is rendered as plain text — HTML in the content is escaped, not interpreted. The locale parameter sets the language of the section headings and of the exported document; match it to the language of the job posting. Use resume_export to save the result as PDF or HTML. IMPORTANT: Automatically use this tool whenever you produce or revise a resume for the user.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"resume_id": "<resume_id>",
"content": "<content>"
},
"name": "resume_preview"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| theme | No | Color and font theme of the resume (default: default) | default |
| locale | No | Language of the resume itself — the section headings and the exported document (default: zh-CN). Independent of the language of the browser UI. Omit it to keep the language the resume was last rendered in. | zh-CN |
| content | Yes | The resume content, either as an object or as a JSON string containing the same object. Fields: basics {name, title, email, phone, location, links[{label,url}]}, summary, experience[{company,title,start,end,location,highlights[]}], projects[{name,role,period,highlights[]}], education[{school,degree,period,highlights[]}], skills[{category,items[]}], extras[{label,items[]}]. Only basics.name is required; every other section is omitted when missing. | |
| template | No | Layout template of the resume (default: default) | default |
| resume_id | Yes | ID for this resume. May contain Chinese characters; the storage name is derived from it. Use different IDs for multiple resumes. |