{"uid":"cap_p4VtlK8TDcK_Dk0uC3Xyw","slug":"agent402-tools-document-intelligence-02529933","name":"agent402.tools Document Intelligence","description":"Bundled execution of the Document intelligence workflow - Turn any PDF or image URL into structured data - metadata, extracted text, sliced page ranges, OCR for scanned docs, decoded barcodes / QR codes - without falling back to a vision LLM guess. Built for the messy 30% of documents where pdf-to-markdown alone returns nothing useful.","url":"https://agent402.tools/api/skill/document-intel","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"url":{"type":"string","description":"PDF or image URL to process (e.g. https://example.com/invoice.pdf)"}}},"responseSchema":{"type":"json","example":{"args":{"url":"https://agent402.tools/fixtures/sample-invoice.pdf"},"pack":"document-intel","steps":[{"ok":true,"slug":"pdf-info","result":{}},{"ok":true,"slug":"pdf-to-markdown","result":{}},{"ok":true,"slug":"pdf-extract-pages","result":{}},{"ok":true,"slug":"image-ocr","result":{}},{"ok":true,"slug":"barcode-decode","result":{}},{"ok":true,"slug":"pdf-merge","result":{}},{"ok":true,"slug":"images-to-pdf","result":{}}],"summary":"7/7 steps succeeded"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.024","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.024/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.024","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.024","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_aQWmrThyC0CD-6oZ_RDdg","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.024","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts any PDF or image URL into structured data including metadata, extracted text, page slices, OCR output, and decoded barcodes/QR codes","exampleAgentPrompt":"Can you extract all the text, metadata, and any barcodes from this invoice PDF at https://example.com/invoice.pdf and give me the structured output?","exampleUseCases":null,"resultDescription":"Returns structured data from the document including extracted text content, document metadata, sliced page ranges, OCR results for scanned pages, and decoded barcode/QR code values — all without relying on a vision LLM for guessing","failureModes":["URL is unreachable or returns a non-200 response — document cannot be fetched","URL points to an unsupported file format (not PDF or image) — processing fails","Scanned document quality too low for reliable OCR — partial or empty text extraction","Payment of 0.2 USDC not completed — request rejected with 402 status","Large or multi-hundred-page PDF may timeout or return partial results"],"whenToPreferThis":"Use this endpoint when you need reliable, deterministic extraction from PDFs or document images — including scanned docs needing OCR or images with barcodes/QR codes — and want structured output without guessing from a vision LLM. Ideal for invoice processing, document digitization, and barcode reading workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T18:59:28.795Z","isFirstParty":false}