Generate Cover Letter
aiapplyd_generate_cover_letterWrite a cover letter for a specific job from the user's default saved resume-builder document, or the first saved builder document if no default is set, in their own voice and free of recruiter cliches.
Instructions
Write a cover letter for a specific job from the user's default saved resume-builder document, or the first saved builder document if no default is set, in their own voice and free of recruiter cliches. Returns the finished letter as text and saves it to the account. Pass application_id instead to read the letter already written for that application. Add instructions only with application_id when the user asks to change that letter: the rewrite REPLACES the letter saved on the application. Writes from the user's resume on file, or a resume they paste or attach in this chat. If the user's plan does not include cover letters, it says so. Generation and revision use the user's AI credits; reading an existing letter does not run generation. Do not use it to apply to a job; use aiapplyd_apply. It also works without a resume-builder document. It uses the resume the user pasted or attached in this conversation (pass its text as resume_text), else the base resume uploaded to their account, else their resume-builder document.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resume_text | No | The resume the user pasted or attached in this conversation, as plain text. Omit it to use the resume already on the user's AI Applyd account. | |
| company_name | No | Name of the company you are applying to | |
| instructions | No | With application_id: what to change in that letter, in the user's own words. | |
| application_id | No | Return the cover letter already written for this application (an id from aiapplyd_get_applications) instead of writing a new one. | |
| job_description | No | Full text of the target job description. Pass with company_name, or pass application_id instead. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | ||
| source | Yes | generated: newly written; application: the letter already prepared for application_id; refined: that letter, changed as asked. | |
| companyName | Yes | ||
| coverLetter | Yes | ||
| resumeSource | No | Which resume a new letter was written from. | |
| applicationId | Yes | ||
| resumeBuildId | Yes |