Keyword search from a simple form
For Expansion and Site Selection Manager. Use `criteria.keywords` in your search request with `check: false` to filter properties based on explicit text matching in advertisements.
Keyword search implementation
MCP tool: search_premises (REST: POST /v1/claro/search). To avoid the model's assessment and rely solely on the text of the advertisement, you disable the check. This is ideal for simple filtering in a user interface.
POST /v1/claro/search
Authorization: Bearer $CASAFARI_API_KEY
{
"criteria": {
"keywords": [["salida de humos"], ["esquina"]],
"exclude_keywords": ["se traspasa"]
},
"check": false
}You get properties that match the phrase groups. Each result includes evidence of the match in its text.