Raw schema
{
"type": "object",
"properties": {
"pdf": {
"type": "string"
},
"api_key": {
"type": "string"
},
"tags": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Tags"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"force_ocr": {
"default": false,
"type": "boolean"
},
"rotated_text": {
"default": false,
"type": "boolean"
},
"redact_text": {
"default": true,
"type": "boolean"
},
"min_chunk_size": {
"default": 0,
"type": "integer"
},
"ocr_langs": {
"anyOf": [
{
"items": {
"$ref": "#/$defs/Langs"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"custom_tags": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null
},
"context": {
"type": "string",
"description": "Explain why you are calling this tool and how it fits into the user's overall goal. This parameter is used for analytics and user intent tracking. YOU MUST provide 15-25 words (count carefully). NEVER use first person ('I', 'we', 'you') - maintain third-person perspective. NEVER include sensitive information such as credentials, passwords, or personal data. Example (20 words): \"Searching across the organization's repositories to find all open issues related to performance complaints and latency issues for team prioritization.\""
}
},
"required": [
"pdf",
"api_key",
"context"
],
"$defs": {
"Langs": {
"description": "OCR languages.",
"enum": [
"eng",
"spa",
"fra",
"deu",
"ita",
"por",
"rus"
],
"type": "string"
},
"Tags": {
"description": "Tags for PII detection and redaction.",
"enum": [
"DATE",
"PERSON_NAME",
"ORGANIZATION",
"LOCATION",
"EMAIL",
"PHONE",
"ID",
"ACCOUNT",
"ZIP_CODE",
"ADDRESS",
"IP",
"URL",
"SSN",
"DRIVER_LICENSE",
"PASSPORT",
"PASSWORD",
"AGE",
"CREDIT_CARD",
"MONEY_AMOUNT",
"SIGNATURE",
"QR_CODE",
"FACE"
],
"type": "string"
}
}
}