Write a cover letter
generateCoverLetterWrites a cover letter from the candidate's resume draft for one job, in the candidate's own voice, using only facts in the draft, saves it to their cover letters (listCoverLetters) and returns the text, its letterId and a PDF link valid for an hour. Give it the job description text, or the jobId of a Clera role from searchCleraRoles / listMatches. External board listings from searchJobs have no Clera jobId: paste their description instead. instruction passes on what the candidate wants different ("shorter", "lead with the payments work"); editCoverLetter changes the wording of a saved letter by hand.
Clera privately records this tool's inputs and results for usage tracking and support.
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": "generateCoverLetter"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | A name to save it under, e.g. the role and company. | |
| jobId | No | A Clera role's jobId (searchCleraRoles / listMatches) instead of pasted text. Not for external board listings. | |
| instruction | No | What the candidate wants from this letter, in their words. | |
| jobDescription | No | The job post text. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| content | Yes | ||
| letterId | Yes | ||
| expiresAt | Yes | ||
| signedUrl | Yes |