hires_upload_candidate_file
Upload a file for a candidate using a base64 payload. Used for portfolio uploads and document attachment. WARNING: host function-call serializers (both OpenAI and Anthropic) truncate tool arguments above ~20KB, so binary files larger than that will arrive corrupted. For resumes specifically, prefer hires_create_candidate / hires_update_candidate with resume_text — the model parses the file from chat context and passes extracted text, avoiding the size limit entirely.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Candidate ID (integer) or alias (string). | |
| file | Yes | File to upload (base64 payload). |