HTTP/1.1 402 PAYMENT REQUIRED · Agentic Finance (AIFI) · x402 + MPP dual-stack 500+ tools · 12 rails · 0% seller fee

PDF processing pipeline

Full PDF processing pipeline - metadata, markdown conversion, and first-page extraction in one call.

$0.060 per call · one payment for the whole workflow
POST /api/skill/pdf-pipeline

3 tools run server-side in one request. You pay once, settle once, and get a single response - no orchestration, no per-step payments, and a partial-success envelope if any step fails. USDC over x402 on any supported chain.

When to use this pack

An agent receives a PDF URL and needs to understand it quickly: what's the page count and metadata, what does the full text say (as markdown), and what's on page 1? Running three separate tools is three payments; this pack does it in one.

Tools in this pack

All 3 run inside the single $0.060 call above. Each is also callable on its own if you only need one part.

Workflow

  1. Call pdf-info to get page count, file size, title, author, and other metadata.
  2. Call pdf-to-markdown to convert the entire PDF to clean markdown text.
  3. Call pdf-extract-pages with pages='1' to get just the first page as a separate document.

Call it directly

Any x402 client pays the 402 and gets the whole workflow back in one response:

npx agent402-client call pdf-pipeline {"url":"https://arxiv.org/pdf/1706.03762"}

Run it in Claude

claude mcp add agent402 -s user -- npx -y agent402-mcp@latest

Then paste this prompt into Claude:

Process the PDF at https://arxiv.org/pdf/1706.03762 using Agent402's pdf-pipeline skill pack: (1) pdf-info for metadata, (2) pdf-to-markdown for full text, (3) pdf-extract-pages for page 1. Summarize the document structure and first-page content.

← All skill packs