Generate a brief from a file
For Expansion and Site Selection Manager. Use `brief_from_file` to upload a file and parse it into structured requirements, which you then pass directly into the `search_premises` tool.
Parsing requirements from documents
MCP tool: brief_from_file (REST: POST /v1/claro/brief/file). You send your requirements file as base64 encoded content. The tool extracts a brief and individual requirements.
POST /v1/claro/brief/file
Authorization: Bearer $CASAFARI_API_KEY
{
"content_base64": "...",
"media_type": "application/pdf",
"filename": "requirements.pdf"
}The resulting brief can be fed directly into search_premises. The file is not stored, and the operation handles up to 10 MB files.