hires_create_candidate
Create a new candidate profile. Optionally link to a job/stage and attach the candidate's resume as extracted text. Used for imports, inbound forms, and enrichment workflows. When the user provides an attached resume (PDF/DOCX/etc.), parse the file content yourself from the chat context — LLMs natively extract text from uploaded files — and pass the extracted text via resume_text. Do NOT attempt to inline binary file data: host function-call serializers truncate arguments above ~20KB.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Candidate city for location/timezone resolution. | |
| No | Candidate email address. Used for deduplication. | ||
| phone | No | Candidate phone number. | |
| state | No | Candidate state or region. | |
| job_id | No | Job ID to create an application for this candidate. | |
| country | No | Candidate country name or ISO code. | |
| profile | No | Key-value map of profile field answers. Keys can be question text or question_id. Example: {"Current job title": "Senior Engineer"}. | |
| stage_id | No | Pipeline stage ID for the initial application. Requires job_id. | |
| timezone | No | IANA timezone (e.g. 'America/Los_Angeles'). Auto-resolved from city/country if omitted. | |
| last_name | No | Candidate last name. | |
| company_id | No | Target company ID. Required only when the API key has access to multiple companies. | |
| first_name | No | Candidate first name. | |
| resume_text | No | Plain-text resume content extracted by the model from an attached PDF/DOCX/etc. Stored as a text/plain attachment on the candidate. Do not pass binary or base64 here — only the parsed text content. |