Tools
AWS Textract
Extract text, tables, and forms from documents
Usage Instructions
Integrate AWS Textract into your workflow to extract text, tables, forms, and key-value pairs from documents. Single-page mode supports JPEG, PNG, and single-page PDF. Multi-page mode supports multi-page PDF and TIFF.
Tools
textract_parser_v2
Parse documents using AWS Textract OCR and document analysis
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
accessKeyId | string | Yes | AWS Access Key ID |
secretAccessKey | string | Yes | AWS Secret Access Key |
region | string | Yes | AWS region for Textract service (e.g., us-east-1) |
processingMode | string | No | Document type: single-page or multi-page. Defaults to single-page. |
s3Uri | string | No | S3 URI for multi-page processing (s3://bucket/key). |
featureTypes | array | No | Feature types to detect: TABLES, FORMS, QUERIES, SIGNATURES, LAYOUT. If not specified, only text detection is performed. |
queries | array | No | Custom queries to extract specific information. Only used when featureTypes includes QUERIES. |
Output
| Parameter | Type | Description |
|---|---|---|
blocks | array | Array of Block objects containing detected text, tables, forms, and other elements |
documentMetadata | object | Metadata about the analyzed document |
modelVersion | string | Version of the Textract model used for processing |
textract_analyze_expense
Extract structured invoice and receipt fields using AWS Textract AnalyzeExpense
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
accessKeyId | string | Yes | AWS Access Key ID |
secretAccessKey | string | Yes | AWS Secret Access Key |
region | string | Yes | AWS region for Textract service (e.g., us-east-1) |
processingMode | string | No | Document type: single-page or multi-page. Defaults to single-page. |
s3Uri | string | No | S3 URI for multi-page processing (s3://bucket/key). |
Output
| Parameter | Type | Description |
|---|---|---|
expenseDocuments | array | Detected expense documents with summary fields and line items |
documentMetadata | object | Metadata about the analyzed document |
modelVersion | string | Version of the AnalyzeExpense model used (multi-page/async only) |
textract_analyze_id
Extract identity document fields using AWS Textract AnalyzeID
Input
| Parameter | Type | Required | Description |
|---|---|---|---|
accessKeyId | string | Yes | AWS Access Key ID |
secretAccessKey | string | Yes | AWS Secret Access Key |
region | string | Yes | AWS region for Textract service (e.g., us-east-1) |
Output
| Parameter | Type | Description |
|---|---|---|
identityDocuments | array | Detected identity documents with normalized fields |
documentMetadata | object | Metadata about the analyzed document |
modelVersion | string | Version of the AnalyzeID model used for processing |
Notes
- Category:
tools - Type:
textract_v2