generate_document
Generate branded talent documents like assessment reports, executive profiles, or shortlists from candidate text. Submit source text and template, then poll for the completed document.
Instructions
Generate a branded, personalized talent document from candidate text. Works for any document type returned by list_document_types — assessment reports, executive profiles, shortlists, proposals, etc. Returns a record_id; poll check_status until the document is ready to download.
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": {
"source_text": "<source_text>",
"template_id": "<template_id>",
"template_type": "<template_type>"
},
"name": "generate_document"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source_text | Yes | The candidate's CV text, profile, or source content to format. Plain text. | |
| template_id | Yes | Template id from `list_document_types`. | |
| output_format | No | Output file format. Default docx. | docx |
| template_type | Yes | The template's type, as shown by `list_document_types`. | |
| candidate_name | No | Candidate display name used in the file/output. Optional. |