# PDF Tool

The PDF Tool allows DinoAI to read and extract information from PDF files, enabling it to understand and reference documentation, papers, or reports in your responses.

{% hint style="info" %}
PDFs must be referenced as [context](/app-help/documentation/dino-ai/context.md) for DinoAI to access them.
{% endhint %}

### Capabilities

<table><thead><tr><th width="286.90234375">Capability</th><th>What It Does</th></tr></thead><tbody><tr><td>Read PDF Content</td><td>Extract and analyze text from PDF documents</td></tr><tr><td>Extract Tables</td><td>Convert tables from PDFs into structured data</td></tr><tr><td>Reference Specific Sections</td><td>Cite particular pages or sections when answering questions</td></tr><tr><td>Analyze Document Structure</td><td>Understand document organization and relationships</td></tr></tbody></table>

### Example Use Cases

#### Summarizing Documentation

* **Prompt**: *"Summarize the data model described in this document"*
  * \+ Add PDF as [context](/app-help/documentation/dino-ai/context.md).
* **Result**: A concise overview of the data structures define

#### Extracting Information

* **Prompt**: *"What are the business rules for customer segmentation in this report?"*
  * \+ Add PDF as [context](/app-help/documentation/dino-ai/context.md).
* **Result**: Extracted business rules with page references to the original document

***

{% hint style="info" %}

#### Best Practices

1. **Use specific prompts** - Ask about particular topics or sections
2. **Combine with project files** - Add relevant code files alongside the PDF
3. **Verify information** - Always validate critical information extracted from PDFs
4. **Consider PDF quality** - Text-based PDFs work better than scanned documents
5. **Add PDF guidelines** - Include instructions in your [.dinorules](/app-help/documentation/dino-ai/dino-rules.md) file for how DinoAI should handle information from specific PDFs, particularly for recurring reference documents
   {% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paradime.io/app-help/documentation/dino-ai/tools-and-features/pdf-tool.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
