Platform

Casafari es la plataforma de inteligencia de datos inmobiliarios nativa para agentes de IA. El índice inmobiliario más completo de Europa: un grafo inmobiliario limpio y deduplicado de propiedades residenciales y comerciales, en venta y alquiler, en 16 países.El índice inmobiliario más completo de Europa: un grafo inmobiliario limpio y deduplicado.

Cómo se construye el grafo

Claro AI · herramienta MCP

brief_from_file

Read a brief from a file

Solo lectura3 parámetros

Call it as brief_from_file on the Claro AI MCP server, https://platform.casafari.com/mcp/claro (how to connect).

Over REST: POST /v1/brief/file (equivalent). MCP and REST compared.

What does Read a brief from a file do?

The premises requirements a file states (a site brief, a location profile, a requirements sheet): a PDF, a photo or scan (JPG, PNG, WebP, HEIC), a Word, Excel or PowerPoint file (or OpenDocument), or text, sent as base64 in content_base64 with its media_type and, best, its filename. Up to 10 MB. Accepted: .pdf,.jpg,.jpeg,.png,.webp,.heic,.heif,.txt,.md,.csv,.tsv,.html,.htm,.rtf,.json,.xml,.docx,.xlsx,.pptx,.odt,.ods,.odp. Returns brief (the requirements in plain words), requirements (each with the file's own words as quote) and quotes_checked (true for Office and text files, where a requirement whose quote is not in the text is dropped; false for PDFs and images). It only reads the file: nothing is searched. The file is not stored.

Which parameters does brief_from_file take?

content_base64stringobligatorio
The file's bytes, base64.
media_typestringobligatorio
The file's media type, e.g. application/pdf, image/jpeg, text/plain, application/vnd.openxmlformats-officedocument.wordprocessingml.document.
filenamestring
The file's name with its extension, e.g. perfil.docx.

How do I call brief_from_file?

Un ejemplo ejecutado en la plataforma antes de publicarlo: funciona tal cual. Su asistente completará sus propios valores con los parámetros anteriores.

JSON-RPC
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "brief_from_file",
    "arguments": {
      "content_base64": "V2UgYXJlIGxvb2tpbmcgZm9yIGEgY2Fmw6kgb2YgODAgdG8gMTIwIG3CsiBmb3IgcmVudCBpbiBWYWxlbmNpYSwgc3RyZWV0IGxldmVsLCB3aXRoIGEgc21va2Ugb3V0bGV0Lg==",
      "media_type": "text/plain",
      "filename": "brief.txt"
    }
  }
}

Consejo: añada .md a cualquier URL para leerla como Markdown.