> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lyzn.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# PDF Extract Pages

> Extract specific pages from a PDF document

# PDF Extract Pages

Extract specific pages from a PDF document

## Properties

| Property   | Value             |
| ---------- | ----------------- |
| **Type**   | pdf-extract-pages |
| **Family** | Actions           |
| **Group**  | Files & Storage   |

## Parameters

| Name  | Label | Type   | Description                                     | Required |
| ----- | ----- | ------ | ----------------------------------------------- | -------- |
| file  | File  | JSON   | File handle, URL, or local path to the PDF file | Yes      |
| pages | Pages | String | Page selection to extract                       | Yes      |

## Outputs

| Name      | Label     | Type   | Description               |
| --------- | --------- | ------ | ------------------------- |
| file      | file      | object | Extracted PDF file        |
| pageCount | pageCount | number | Number of pages extracted |
