resume-validate
Validate resumes in JSON Resume format to identify errors and warnings for compliance.
Instructions
Validate a resume in JSON Resume format. Returns validation errors and warnings.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| resume | Yes | Resume object in JSON Resume format |
Implementation Reference
- src/tools/resume.ts:6-21 (handler)The 'resume-validate' tool is registered and implemented within the 'registerResumeTools' function in src/tools/resume.ts. The handler uses the 'client.resume.validate' method to process the resume data.
server.tool( "resume-validate", "Validate a resume in JSON Resume format. Returns validation errors and warnings.", { resume: z.record(z.unknown()).describe("Resume object in JSON Resume format"), }, async (params) => { try { const result = await client.resume.validate({ resume: params.resume }); return { content: [{ type: "text", text: JSON.stringify(result, null, 2) }] }; } catch (err) { const message = err instanceof Error ? err.message : String(err); return { content: [{ type: "text", text: `Error: ${message}` }], isError: true }; } }, );