# ask_pdf: Ask a PDF

Answer a question from the document only, citing pages. Every quote is checked against the page text (verified: false marks one that couldn't be found).

A tool of the [FynePDF MCP server](https://fynepdf.com/developers/docs/mcp) (`https://api.fynepdf.com/mcp`). Reads only: it doesn't change or make files.

## Ask for it

- "What's the notice period in this contract?"
- "Which page mentions the warranty?"

## Inputs

| Input | Type | Required | What it does |
|---|---|---|---|
| `file_id` | string |  | A FynePDF file_id from upload_file, import_file_from_url or an earlier tool. |
| `file` | object |  | A file the person attached in ChatGPT (filled in by ChatGPT). |
| `file_url` | string |  | A public link to the file. |
| `library_file_id` | string |  | A file from the person's FynePDF Library (from list_library_files). |
| `question` | string | yes |  |

## The same over HTTP

From your own code, call [Ask a PDF a question](https://fynepdf.com/developers/docs/api/ask-pdf).

## Connect it

[Claude](https://fynepdf.com/developers/docs/mcp/claude) · [ChatGPT](https://fynepdf.com/developers/docs/mcp/chatgpt) · [Cursor](https://fynepdf.com/developers/docs/mcp/cursor) · [VS Code](https://fynepdf.com/developers/docs/mcp/vscode) · [Claude Code](https://fynepdf.com/developers/docs/mcp/claude-code)


---

Open this page in a browser: https://fynepdf.com/developers/docs/mcp/tools/ask_pdf

More: [All tools](https://fynepdf.com/tools) · [AI agents](https://fynepdf.com/ai/agents) · [llms.txt](https://fynepdf.com/llms.txt) · [Sitemap](https://fynepdf.com/sitemap.xml)
