Firecrawl file parsing
firecrawl_parseParse local HTML, PDF, Word, RTF, OpenDocument, and spreadsheet files into Markdown, HTML, links, summaries, targeted answers, or schema-based JSON for AI workflows.
Instructions
Parse one supported document into markdown, HTML, links, summary, targeted answers, or JSON matching a schema. Supported inputs include common HTML, PDF, Word, RTF, OpenDocument, and spreadsheet files; PDF parsing can be bounded with pdfOptions.maxPages.
Local MCP reads filePath from the server filesystem. Hosted MCP uses two calls: first provide filePath to receive upload instructions, upload locally, then call again with the returned uploadRef; do not send both fields together. Remote web URLs belong in firecrawl_scrape.
Set redactPII to request redaction of personally identifiable information in the returned content. zeroDataRetention requires an eligible authenticated account; omit it for anonymous keyless use. Returns upload instructions for hosted phase one or parsed document content for the final call. Authenticated final responses can include a data.metadata.scrapeId for optional parse feedback.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| proxy | No | ||
| maxAge | No | Ignored: parse never reuses or stores indexed content. | |
| formats | No | ||
| parsers | No | ||
| filePath | Yes | Absolute or relative path to a local file to parse. Supported: .html, .htm, .pdf, .docx, .doc, .odt, .rtf, .xlsx, .xls | |
| redactPII | No | ||
| pdfOptions | No | ||
| contentType | No | Optional MIME type override. If omitted, the server infers the file kind from the extension. | |
| excludeTags | No | ||
| includeTags | No | ||
| jsonOptions | No | ||
| queryOptions | No | ||
| storeInCache | No | ||
| onlyMainContent | No | ||
| zeroDataRetention | No | ||
| removeBase64Images | No | ||
| skipTlsVerification | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| raw | No | Response body when it was not JSON. | |
| data | No | Parsed document content; can include `data.metadata.scrapeId` for parse feedback. | |
| mode | No | Which phase of the hosted flow produced this response. | |
| error | No | Error message or error object when the call did not succeed. | |
| notes | No | Hosted phase one: constraints on completing the upload flow. | |
| upload | No | Hosted phase one: how to upload the local file. | |
| message | No | Guidance for the next call. | |
| success | No | Whether the API call succeeded. | |
| warning | No | Non-fatal warning about the result. | |
| nextToolCall | No | Hosted phase one: the second `firecrawl_parse` call to make once the upload succeeds, as `{name, arguments}`. |