# Generate a brief from a file

> **Casafari is the AI agent-native real estate data intelligence platform.** The most complete property index in Europe: a deduplicated, cleaned property graph of residential and commercial property, for sale and for rent, in 16 countries. Every property is one record with its full price and market history. [How the property graph is built](/docs/property-graph).

**For Expansion and Site Selection Manager.** Use brief_from_file to upload a file and parse it into structured requirements for your Claro search, streamlining your expansion process.

> How do I extract search requirements from a document?

MCP tool: `brief_from_file` (REST: POST /v1/claro/brief/file)

## Extracting brief requirements
Instead of manual entry, upload your requirements file (PDF, DOCX, etc.) using `POST /v1/claro/brief/file`. This parses requirements into a structure you can use for searching.

```json
POST /v1/claro/brief/file
Authorization: Bearer $CASAFARI_API_KEY
{
  "content_base64": "...",
  "media_type": "application/pdf",
  "filename": "requirements.pdf"
}
```

You get back the structured brief, which you then pass to `search_premises` to start your search. The file is never stored.

## Related use cases

- [Score every premises with your own agent](https://developers.casafari.com/docs/claro/use-cases/score-premises-with-agent)
- [Nightly pipeline of premises into a CRM](https://developers.casafari.com/docs/claro/use-cases/nightly-pipeline-crm)
- [Explain any point with Location Intelligence](https://developers.casafari.com/docs/claro/use-cases/explain-point-location)
- [Keyword search from a simple form](https://developers.casafari.com/docs/claro/use-cases/keyword-search-form)
- [Claro AI FAQ](https://developers.casafari.com/docs/claro/faq)
