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

# keep_pages

> Select which pages to keep and process in a PDF file.

## Inputs

`file_id` (File ID String): File ID

`str_range` (String): A string containing pages or page ranges e.g. "1, 2, 3-5"

## Output

File ID with metadata appended.

## Example Usage

```sql theme={null}
SELECT keep_pages(
  'file_5319316b-1209-1234-9010-0ab35a9af2f9',
  "1, 2, 3-5"
);
```
