# Extract PDF Text

Extracts text from PDF bytes or stored PDF media.

## Input

- `input`: `NodeData::Binary`, an object descriptor or `{ object_id }`, or an object with `base64` and optional `content_type` / `filename`.

## Output

- `output.text`: extracted text.
- `output.pages`: best-effort page text objects with `page` and `text`.
- `output.metadata.page_count`: detected text page count.
- `output.metadata.character_count`: extracted character count.
- `output.metadata.filename`: source filename, when known.
- `output.metadata.content_type`: source content type, when known.

Limits: 10 MiB input and 10 second extraction timeout.

This node extracts embedded PDF text. It does not OCR scanned image-only PDFs. Use an OCR or vision model workflow step after this node when `output.text` is empty or incomplete.
