ApplicantRead-only annotation
Preview Resume Ocr
preview_resume_ocr
Preview applicant-authorized on-device OCR text with client-provided page references and confidence. Afina does not verify the recognition or the claims. The browser uploader supports English OCR for PDF, PNG, JPEG and WebP. No original file, automatic save or recruiter sharing. Review before save_matching_profile.
Source-catalog reference. Discover the live server’s tools before calling. An annotation does not replace authorization or exact review requirements.
Parameters
| Name | Contract |
|---|---|
formatRequired | string Values: pdf, png, jpg, jpeg, webp |
pagesRequired | integer |
segmentsRequired | array |
Exact input schema
Expand JSON Schema
{
"type": "object",
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"format": {
"type": "string",
"enum": [
"pdf",
"png",
"jpg",
"jpeg",
"webp"
]
},
"pages": {
"type": "integer",
"minimum": 1,
"maximum": 10
},
"segments": {
"minItems": 1,
"maxItems": 1000,
"type": "array",
"items": {
"type": "object",
"properties": {
"text": {
"type": "string",
"minLength": 1,
"maxLength": 2000
},
"source_pointer": {
"type": "string",
"pattern": "^device_ocr:page:(?:[1-9]|10):line:[1-9][0-9]{0,3}$"
},
"confidence": {
"type": "number",
"minimum": 0,
"maximum": 100
}
},
"required": [
"text",
"source_pointer"
],
"additionalProperties": false
}
}
},
"required": [
"format",
"pages",
"segments"
],
"additionalProperties": false
}Output schema
Expand output contract
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"properties": {
"data": {}
},
"required": [
"data"
],
"additionalProperties": false
}Tool annotations
{
"readOnlyHint": true,
"destructiveHint": false,
"idempotentHint": true,
"openWorldHint": false
}