Publish a property
publish_propertyUse this when an authenticated user explicitly asks to publish a property on PropFácil. This creates a private draft that goes public only after the user reviews and activates it on PropFácil at the returned confirmUrl. Safe to retry with the same idempotencyKey.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"idempotencyKey": "<idempotencyKey>",
"transactionType": "<transactionType>",
"price": "<price>",
"title": "<title>",
"description": "<description>",
"city": "<city>"
},
"name": "publish_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | Yes | Mexican city or municipality where the property is located. | |
| price | Yes | Positive advertised price in the selected currency. | |
| state | No | Mexican state where the property is located, when known. | |
| title | Yes | Public listing title shown to prospective buyers or tenants. | |
| areaSqm | No | Property area in square meters. | |
| bedrooms | No | Number of bedrooms; use zero only when the property has none. | |
| currency | No | Currency used for the advertised price. | MXN |
| latitude | No | WGS84 latitude for the property location. | |
| bathrooms | No | Number of bathrooms, including fractional half-bath values when applicable. | |
| longitude | No | WGS84 longitude for the property location. | |
| description | Yes | Public, accurate description of the property. | |
| isCommercial | No | True for commercial real estate; false for residential real estate. | |
| idempotencyKey | Yes | Stable unique key for this publish request; reuse it when retrying. | |
| transactionType | Yes | Whether the property is offered for sale or lease. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| url | Yes | ||
| status | Yes | ||
| reasons | Yes | ||
| confirmUrl | No | Private page where the user reviews and activates the draft. | |
| idempotentReplay | Yes |