parse_cvs
Extract candidate name, email, and phone from CV files (PDF/DOCX) with OCR fallback. Returns deduplicated candidates ready for interview scheduling.
Instructions
Extract candidate identity (name, email, phone) from CV/resume files (PDF or DOCX, up to 20 per call). Runs OCR fallback for image-based PDFs. Returns deduplicated candidate rows ready to pass to schedule_interview.
Each entry in 'files' must have:
- 'name': filename including extension
- 'bytes_base64': base64-encoded file contents
If role_id is provided, dedups against candidates already attached to
that role. Files exceeding 20 are rejected — batch across multiple calls.
After parsing, ALWAYS show the user the extracted name/email/phone for
each file before scheduling, then call schedule_interview with the
returned 'candidates' list.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | ||
| role_id | No |