---
title: "FileParserPlugin"
---

## Fields

| Field                                                                              | Type                                                                               | Required                                                                           | Description                                                                        | Example                                                                            |
| ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------- |
| `enabled`                                                                          | *Optional[bool]*                                                                   | :heavy_minus_sign:                                                                 | Set to false to disable the file-parser plugin for this request. Defaults to true. |                                                                                    |
| `id`                                                                               | [components.FileParserPluginID](../components/fileparserpluginid.mdx)               | :heavy_check_mark:                                                                 | N/A                                                                                |                                                                                    |
| `pdf`                                                                              | [Optional[components.PDFParserOptions]](../components/pdfparseroptions.mdx)         | :heavy_minus_sign:                                                                 | Options for PDF parsing.                                                           | \{<br/>"engine": "cloudflare-ai"<br/>}                                              |