Extract Document Tables
extract_document_tablesExtract tables from PDF, DOCX, text, markdown, CSV, JSON, or HTML documents and write them to a single JSON file. Supports local file paths or URLs.
Instructions
Convert a PDF, DOCX, text, markdown, CSV, JSON, or HTML document into table data and write one JSON output file. The source can be a local file path or an HTTP/HTTPS URL.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| documentId | No | Optional stable identifier for the document in the generated JSON. | |
| outputPath | No | Optional path for the single generated JSON file. | |
| sourcePath | Yes | Path to the source document on the local filesystem, or an HTTP/HTTPS URL (e.g. a raw GitHub link to a .md or .txt file). | |
| maxChunkCharacters | No | Optional maximum characters sent to the AI model per chunk. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| outputPath | Yes | ||
| sourcePath | Yes | ||
| tableCount | Yes |