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

# File Attachments

> Attach images, PDFs, and documents to your chat messages

Upload files to Chat for analysis by the agent.

## Supported File Types

<Tabs>
  <Tab title="Images">
    * PNG, JPG, GIF, WEBP
    * Screenshots of alerts, dashboards
    * Network diagrams
    * Max 10MB per file
  </Tab>

  <Tab title="Documents">
    * PDF (text extraction)
    * TXT, CSV (direct reading)
    * JSON, YAML (structured data)
    * Max 5MB per file
  </Tab>

  <Tab title="Logs">
    * Plain text logs
    * PCAP files (metadata only)
    * Max 25MB per file
  </Tab>
</Tabs>

## Use Cases

**Screenshot Analysis**: Upload alert screenshot, ask agent to investigate

**Log Analysis**: Upload log file, ask agent to find anomalies

**Report Parsing**: Upload PDF report, extract key findings

**Email Analysis**: Forward email as file, analyze for phishing

## How It Works

1. Click attachment icon in chat
2. Upload file
3. Agent automatically processes based on type
4. Ask questions about the file content

## Example

**You**: \[Uploads suspicious email EML file]
`Analyze this email for phishing indicators`

**Agent**:

```
Analyzing email...

From: support@paypa1-security.com (SUSPICIOUS - typosquatting)
Subject: Urgent: Account Verification Required

Red flags detected:
- Sender domain mimics PayPal (paypa1 vs paypal)
- Contains urgency language
- Includes suspicious link: hxxp://verify-account-paypa1[.]com
- Link domain registered 2 days ago

Verdict: PHISHING ⚠️
Recommendation: Block sender, report to email security team
```
