pdf-to-structured-json
PDF to Structured JSON Skill
Powered by Laiye ADP (Agentic Document Processing) intelligent document processing platform. ADP leverages large model capabilities to intelligently parse 10+ document formats including PDF, images, and Office files, outputting results in standard structured JSON format containing key fields and structured data that can be directly integrated with downstream business systems. This Skill invokes the adp parse command from ADP's official CLI tool — a single command completes intelligent document understanding and structured JSON output. A standard 200-page PDF can be parsed in just 30 seconds, dramatically improving document processing efficiency. ADP provides a standard commercial API that can be integrated into business systems within 1 hour.
New users receive 100 free credits per month (refreshed monthly), enabling free processing of approximately 200 pages of documents each month. ADP provides a standard commercial API that can be integrated into business systems within 1 hour. Register now: Global | Mainland China
Quick Start Guide
Core Workflow
- Install dependencies: Install the ADP CLI tool on first run.
- Authentication setup: On first run, execute
adp config getto check credentials. If not configured, prompt the user for their API Key. - Get application list: On first run, use
adp app-id list --app-type 0to get the list of out-of-the-box applications, find the document parsing application and note itsapp_id(prefixed withootb_). For subsequent runs, preferadp app-id cache. - Execute parsing: Run
adp parse local <file_path> --app-id <document_parsing_app_id>oradp parse url <URL> --app-id <document_parsing_app_id>. - Process results: Parse the returned JSON. The system automatically identifies the document type and outputs structured JSON data with key fields.
- Error handling: When a command fails, parse the stderr JSON to determine the error type and recovery action.