list_leases
VerfügbarListet Mietverträge, optional nach Einheit, Partei oder Status.
Parameter
-
tenant_slugstring | null · Standard null - Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.
-
unit_idstring | null · Standard null - Optionaler Einheitenfilter.
-
party_idstring | null · Standard null - Optionaler Parteienfilter.
-
statusstring | null · Standard null - Optionaler Statusfilter.
-
limitinteger · Standard 50 - Höchstens so viele Einträge.
-
offsetinteger · Standard 0 - So viele Einträge werden übersprungen.
Beispielaufruf
{
"tool": "list_leases",
"arguments": {
"unit_id": "unit_201",
"status": "active"
}
} Beispielantwort · Format illustrativ
{
"items": [
{
"id": "lease_301",
"unit_id": "unit_201",
"party_id": "party_401",
"status": "active",
"cold_rent": 730,
"nk_prepayment": 120,
"start_date": "2024-01-01"
}
],
"limit": 50,
"offset": 0
} Beispieldaten