Subscribe an email to new developments or construction
subscribe_digestUse this when the person asks to be emailed about new-build projects matching a filter (daily) or new construction licensed in one municipality (weekly). Do not use it to have flatin.pt contact them (request_consultation) or to see what is on sale now (search_newbuilds). Ask the person first; nothing is active until they click the confirmation email. city is required for construction and parish works only there; typology, the prices and on_sale work only with new_developments. The answer is the same whether or not the address was already subscribed: never say it was.
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": {
"email": "<email>"
},
"name": "subscribe_digest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| city | No | Municipality (Lisboa or Lisbon). Required for construction; empty means all of Portugal for new_developments | |
| what | No | new_developments: new-build developments matching the filter, daily email when something new appears. construction: newly licensed construction in a municipality ("what is being built"), weekly | new_developments |
| Yes | The person's email address | ||
| client | No | Optional. Your app's host or name: recorded as the request's source | |
| parish | No | Optional, construction only: a parish (freguesia) of that municipality | |
| on_sale | No | Optional, new_developments: only developments on sale | |
| language | No | The person's language: the consent text and the emails come in it. uk is accepted as ua. | en |
| typology | No | Optional. Bedroom counts wanted (T2 = two bedrooms) | |
| price_max | No | Optional, new_developments: maximum price in euros | |
| price_min | No | Optional, new_developments: minimum price in euros |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||