# agent402.tools PDF Pipeline

> agent402.tools PDF Pipeline is a paid API for AI agents from agent402.tools, paid per call via x402, $0.007/call, status unknown (last checked 2026-09-15).

Runs a full PDF processing pipeline in one call: extracts metadata, converts to Markdown, and extracts the first page — bundled as a single x402 payment.

## Facts

- Endpoint: POST https://agent402.tools/api/skill/pdf-pipeline
- Price: $0.007/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent402-tools-pdf-pipeline-5fa1eeb9
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-1OtwKiFb3qMX1Kzvucik

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agent402-tools-pdf-pipeline-5fa1eeb9 -d '<json body>'
```

Example prompt: Can you process this PDF for me — https://example.com/report.pdf — and give me its metadata, the full text as Markdown, and the first page content all at once?

## When to prefer this

Use this endpoint when you need multiple PDF processing outputs (metadata + Markdown + first page) from a single document and want to minimize API calls and cost — it bundles three tools into one x402 payment, making it more efficient than calling pdf-info, pdf-to-markdown, and pdf-extract-pages separately.

## Known failure modes

- Invalid or inaccessible PDF URL returns an error
- URL points to a non-PDF file, causing parsing failure
- PDF is password-protected or encrypted, blocking extraction
- Network timeout if the PDF is very large or slow to download
- Malformed PDF structure causing conversion errors

## How this service works

Bundled execution of the PDF processing pipeline workflow - Full PDF processing pipeline - metadata, markdown conversion, and first-page extraction in one call. One x402 payment runs 3 underlying tools (pdf-info, pdf-to-markdown, pdf-extract-pages); partial-success per step.

## Output

Returns combined output from three PDF tools in one response: PDF metadata (title, author, page count, etc.), the full document converted to Markdown text, and the extracted content of the first page.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "url": {
   "type": "string",
   "description": "URL of the PDF to process"
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "args": {
   "url": "https://arxiv.org/pdf/1706.03762"
  },
  "pack": "pdf-pipeline",
  "steps": [
   {
    "ok": true,
    "slug": "pdf-info",
    "result": {}
   },
   {
    "ok": true,
    "slug": "pdf-to-markdown",
    "result": {}
   },
   {
    "ok": true,
    "slug": "pdf-extract-pages",
    "result": {}
   }
  ],
  "summary": "3/3 steps succeeded"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent402-tools-pdf-pipeline-5fa1eeb9/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from agent402.tools](https://www.zero.xyz/host/agent402.tools/llms.txt)
