list_generated_resumes
View and filter AI-generated resumes tailored for specific job applications. Manage automatically created application documents by job ID or trigger type.
Instructions
List AI-generated custom resumes. These are resumes that were automatically tailored for specific job applications.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobApplicationId | No | Filter by job application ID | |
| manualTrigger | No | Filter by whether resume was manually triggered |
Implementation Reference
- src/tools/resume.ts:61-88 (handler)The tool 'list_generated_resumes' is defined and implemented here using the `server.tool` MCP method. It maps the input arguments to a client call and formats the response.
server.tool( 'list_generated_resumes', 'List AI-generated custom resumes. These are resumes that were automatically tailored for specific job applications.', { jobApplicationId: z.string().optional().describe('Filter by job application ID'), manualTrigger: z.boolean().optional().describe('Filter by whether resume was manually triggered'), }, async (args) => { const result = await client.listGeneratedResumes({ jobApplicationId: args.jobApplicationId, manualTrigger: args.manualTrigger, }); const response = { count: result.resumes.length, generatedResumes: result.resumes.map(r => ({ id: r._id, jobApplicationId: r.jobApplicationId, jobTitle: r.meta?.title, company: r.meta?.companyName, filename: r.fileName, status: r.status, aiRelevancyScore: r.aiRelevancyScore ? `${Math.round(r.aiRelevancyScore * 100)}%` : null, createdAt: r.dateCreated, })), }; return { content: [{ type: 'text' as const, text: JSON.stringify(response, null, 2) }] }; } );