{
  "name": "Immobi.ai MCP tools",
  "updated": "2026-10-03",
  "interface_available_today": "mcp_and_rest",
  "auth": "API key or OAuth after activation. Each call is limited to the caller’s own tenants.",
  "safety": "Write tools default to dry_run=true. Approval is not delivery. No tool sends messages to tenants.",
  "status_legend": {
    "available": "Callable over MCP and REST."
  },
  "tools": [
    {
      "name": "whoami",
      "status": "available",
      "domain": "identitaet",
      "description": "Returns the authenticated identity and only its own tenants, each with a role: readonly, member, admin or owner.",
      "description_de": "Zeigt die angemeldete Identität und nur ihre eigenen Mandanten, jeweils mit Rolle: readonly, member, admin oder owner.",
      "parameters": {
        "type": "object",
        "properties": {},
        "required": []
      }
    },
    {
      "name": "tenant_overview",
      "status": "available",
      "domain": "identitaet",
      "description": "Tenant metadata plus row counts for properties, units, leases, parties, bank transactions, costs, rent expectations, document links and sync runs.",
      "description_de": "Mandanten-Stammdaten plus Zeilenzahlen für Objekte, Einheiten, Mietverträge, Parteien, Bankumsätze, Kosten, Soll-Mieten, Dokumentverweise und Sync-Läufe.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": []
      }
    },
    {
      "name": "sync_status",
      "status": "available",
      "domain": "identitaet",
      "description": "Latest sync runs for the tenant: source, status and rows written.",
      "description_de": "Die letzten Sync-Läufe des Mandanten: Quelle, Status und Anzahl geschriebener Zeilen.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 20
          }
        },
        "required": []
      }
    },
    {
      "name": "list_properties",
      "status": "available",
      "domain": "objekte",
      "description": "Lists properties for the tenant.",
      "description_de": "Listet die Objekte des Mandanten.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional status filter.",
            "description_de": "Optionaler Statusfilter.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": []
      }
    },
    {
      "name": "get_property",
      "status": "available",
      "domain": "objekte",
      "description": "Reads one property by id.",
      "description_de": "Liest ein Objekt anhand der ID.",
      "parameters": {
        "type": "object",
        "properties": {
          "property_id": {
            "type": "string",
            "description": "Property id.",
            "description_de": "ID des Objekts."
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": [
          "property_id"
        ]
      }
    },
    {
      "name": "list_units",
      "status": "available",
      "domain": "objekte",
      "description": "Lists units, optionally filtered by property.",
      "description_de": "Listet Einheiten, optional gefiltert nach Objekt.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "property_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Only units of this property.",
            "description_de": "Optional. Nur Einheiten dieses Objekts.",
            "default": null
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional status filter.",
            "description_de": "Optionaler Statusfilter.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": []
      }
    },
    {
      "name": "get_unit",
      "status": "available",
      "domain": "objekte",
      "description": "Reads one unit by id.",
      "description_de": "Liest eine Einheit anhand der ID.",
      "parameters": {
        "type": "object",
        "properties": {
          "unit_id": {
            "type": "string",
            "description": "Unit id.",
            "description_de": "ID der Einheit."
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": [
          "unit_id"
        ]
      }
    },
    {
      "name": "list_leases",
      "status": "available",
      "domain": "vertraege",
      "description": "Lists leases, optionally by unit, party or status.",
      "description_de": "Listet Mietverträge, optional nach Einheit, Partei oder Status.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "unit_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional unit filter.",
            "description_de": "Optionaler Einheitenfilter.",
            "default": null
          },
          "party_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional party filter.",
            "description_de": "Optionaler Parteienfilter.",
            "default": null
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional status filter.",
            "description_de": "Optionaler Statusfilter.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": []
      }
    },
    {
      "name": "get_lease",
      "status": "available",
      "domain": "vertraege",
      "description": "Reads one lease by id.",
      "description_de": "Liest einen Mietvertrag anhand der ID.",
      "parameters": {
        "type": "object",
        "properties": {
          "lease_id": {
            "type": "string",
            "description": "Lease id.",
            "description_de": "ID des Mietvertrags."
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": [
          "lease_id"
        ]
      }
    },
    {
      "name": "list_parties",
      "status": "available",
      "domain": "vertraege",
      "description": "Lists parties. kind filters by tenant (renter), landlord or vendor.",
      "description_de": "Listet Parteien. kind filtert nach tenant (Mieter), landlord (Vermieter) oder vendor (Dienstleister).",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "kind": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional: tenant, landlord or vendor.",
            "description_de": "Optional: tenant, landlord oder vendor.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": []
      }
    },
    {
      "name": "search_parties",
      "status": "available",
      "domain": "vertraege",
      "description": "Free-text search over display name and email.",
      "description_de": "Freitextsuche über Anzeigename und E-Mail.",
      "parameters": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search text.",
            "description_de": "Suchtext."
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "list_rent_expectations",
      "status": "available",
      "domain": "sollmieten",
      "description": "Lists rent expectations. status is open, partial, paid or waived. Date filters are YYYY-MM-DD.",
      "description_de": "Listet Soll-Mieten. status ist open, partial, paid oder waived. Datumsfilter sind YYYY-MM-DD.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "lease_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional lease filter.",
            "description_de": "Optionaler Vertragsfilter.",
            "default": null
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional: open, partial, paid or waived.",
            "description_de": "Optional: open, partial, paid oder waived.",
            "default": null
          },
          "due_month_from": {
            "type": [
              "string",
              "null"
            ],
            "description": "Due month from, YYYY-MM-DD.",
            "description_de": "Fälligkeit von, YYYY-MM-DD.",
            "default": null
          },
          "due_month_to": {
            "type": [
              "string",
              "null"
            ],
            "description": "Due month to, YYYY-MM-DD.",
            "description_de": "Fälligkeit bis, YYYY-MM-DD.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": []
      }
    },
    {
      "name": "bank_sync_status",
      "status": "available",
      "domain": "bank",
      "description": "Bank sync health: row count, first and last transaction date, counts by state, last sync time.",
      "description_de": "Sync-Stand der Bankumsätze: Anzahl, erstes und letztes Buchungsdatum, Zähler je Status, letzter Sync.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": []
      }
    },
    {
      "name": "list_bank_transactions",
      "status": "available",
      "domain": "bank",
      "description": "Lists bank transactions. Date filters are YYYY-MM-DD. For the unassigned queue, set state to UNASSIGNED.",
      "description_de": "Listet Bankumsätze. Datumsfilter sind YYYY-MM-DD. Für die Queue der offenen Umsätze state auf UNASSIGNED setzen.",
      "parameters": {
        "type": "object",
        "properties": {
          "date_from": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction date from, YYYY-MM-DD.",
            "description_de": "Buchungsdatum von, YYYY-MM-DD.",
            "default": null
          },
          "date_to": {
            "type": [
              "string",
              "null"
            ],
            "description": "Transaction date to, YYYY-MM-DD.",
            "description_de": "Buchungsdatum bis, YYYY-MM-DD.",
            "default": null
          },
          "state": {
            "type": [
              "string",
              "null"
            ],
            "description": "ALL, UNASSIGNED, ASSIGNED, AUTOASSIGNED, SUGGESTED, IGNORED or DISMISSED.",
            "description_de": "ALL, UNASSIGNED, ASSIGNED, AUTOASSIGNED, SUGGESTED, IGNORED oder DISMISSED.",
            "default": "ALL"
          },
          "sender_name": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional sender-name filter.",
            "description_de": "Optionaler Filter auf den Absender.",
            "default": null
          },
          "min_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "Minimum amount.",
            "description_de": "Mindestbetrag.",
            "default": null
          },
          "max_amount": {
            "type": [
              "number",
              "null"
            ],
            "description": "Maximum amount.",
            "description_de": "Höchstbetrag.",
            "default": null
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": []
      }
    },
    {
      "name": "get_bank_transaction",
      "status": "available",
      "domain": "bank",
      "description": "Reads one bank transaction by id.",
      "description_de": "Liest einen Bankumsatz anhand der ID.",
      "parameters": {
        "type": "object",
        "properties": {
          "id": {
            "type": "string",
            "description": "Transaction id.",
            "description_de": "ID des Umsatzes."
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": [
          "id"
        ]
      }
    },
    {
      "name": "search_bank_transactions",
      "status": "available",
      "domain": "bank",
      "description": "Free-text search over sender name and subject.",
      "description_de": "Freitextsuche über Absender und Verwendungszweck.",
      "parameters": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search text.",
            "description_de": "Suchtext."
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "list_costs",
      "status": "available",
      "domain": "kosten",
      "description": "Lists costs, optionally by property and year.",
      "description_de": "Listet Kosten, optional nach Objekt und Jahr.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "property_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional property filter.",
            "description_de": "Optionaler Objektfilter.",
            "default": null
          },
          "period_year": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Optional. Period year.",
            "description_de": "Optional. Abrechnungsjahr.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": []
      }
    },
    {
      "name": "search_costs",
      "status": "available",
      "domain": "kosten",
      "description": "Free-text search over the cost description.",
      "description_de": "Freitextsuche über die Kostenbeschreibung.",
      "parameters": {
        "type": "object",
        "properties": {
          "query": {
            "type": "string",
            "description": "Search text.",
            "description_de": "Suchtext."
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": [
          "query"
        ]
      }
    },
    {
      "name": "list_document_links",
      "status": "available",
      "domain": "kosten",
      "description": "Lists document links, filterable by property, unit, lease, party or cost.",
      "description_de": "Listet Dokumentverweise, filterbar nach Objekt, Einheit, Vertrag, Partei oder Kosten.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "property_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional property filter.",
            "description_de": "Optionaler Objektfilter.",
            "default": null
          },
          "unit_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional unit filter.",
            "description_de": "Optionaler Einheitenfilter.",
            "default": null
          },
          "lease_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional lease filter.",
            "description_de": "Optionaler Vertragsfilter.",
            "default": null
          },
          "party_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional party filter.",
            "description_de": "Optionaler Parteienfilter.",
            "default": null
          },
          "cost_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional cost filter.",
            "description_de": "Optionaler Kostenfilter.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": []
      }
    },
    {
      "name": "list_nk_statements",
      "status": "available",
      "domain": "nebenkosten",
      "description": "Lists operating-cost statements. kind is original, correction or import. status is draft, review, final, sent or void. The filter approved is an alias of final.",
      "description_de": "Listet Nebenkostenabrechnungen. kind ist original, correction oder import. status ist draft, review, final, sent oder void. Der Filter approved ist ein Alias für final.",
      "parameters": {
        "type": "object",
        "properties": {
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          },
          "property_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional property filter.",
            "description_de": "Optionaler Objektfilter.",
            "default": null
          },
          "unit_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional unit filter.",
            "description_de": "Optionaler Einheitenfilter.",
            "default": null
          },
          "period_year": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Optional. Year of the statement period.",
            "description_de": "Optional. Jahr des Abrechnungszeitraums.",
            "default": null
          },
          "kind": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional: original, correction or import.",
            "description_de": "Optional: original, correction oder import.",
            "default": null
          },
          "status": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional: draft, review, final, sent, void. approved means final.",
            "description_de": "Optional: draft, review, final, sent, void. approved bedeutet final.",
            "default": null
          },
          "limit": {
            "type": "integer",
            "description": "Maximum number of rows.",
            "description_de": "Höchstens so viele Einträge.",
            "default": 50
          },
          "offset": {
            "type": "integer",
            "description": "Number of rows to skip.",
            "description_de": "So viele Einträge werden übersprungen.",
            "default": 0
          }
        },
        "required": []
      }
    },
    {
      "name": "get_nk_statement",
      "status": "available",
      "domain": "nebenkosten",
      "description": "Reads one statement with header and lines. A balance above 0 is an additional payment, below 0 a credit.",
      "description_de": "Liest eine Abrechnung mit Kopf und Positionen. balance über 0 ist eine Nachzahlung, unter 0 ein Guthaben.",
      "parameters": {
        "type": "object",
        "properties": {
          "statement_id": {
            "type": "string",
            "description": "Statement id.",
            "description_de": "ID der Abrechnung."
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": [
          "statement_id"
        ]
      }
    },
    {
      "name": "rebuild_nk_correction",
      "status": "available",
      "domain": "nebenkosten",
      "description": "Rebuilds a correction. correction_delta is balance minus prior_balance. Identify it by statement_id, or by unit_id plus period_year. dry_run defaults to true. A write happens only when dry_run is false, status is review and the role is member. final, sent and void stay unchanged. Nothing is sent.",
      "description_de": "Rechnet eine Korrektur neu. correction_delta ist balance minus prior_balance. Identifikation über statement_id oder über unit_id plus period_year. Standard dry_run true. Geschrieben wird nur bei dry_run false, Status review und Rolle member. final, sent und void bleiben unverändert. Es wird nichts versendet.",
      "parameters": {
        "type": "object",
        "properties": {
          "statement_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Correction id. Or pass unit_id and period_year.",
            "description_de": "ID der Korrektur. Alternativ unit_id und period_year.",
            "default": null
          },
          "unit_id": {
            "type": [
              "string",
              "null"
            ],
            "description": "Unit id, together with period_year.",
            "description_de": "ID der Einheit, zusammen mit period_year.",
            "default": null
          },
          "period_year": {
            "type": [
              "integer",
              "null"
            ],
            "description": "Statement year, together with unit_id.",
            "description_de": "Abrechnungsjahr, zusammen mit unit_id.",
            "default": null
          },
          "dry_run": {
            "type": "boolean",
            "description": "Defaults to true. When true, nothing is written.",
            "description_de": "Standard true. Bei true wird nichts geschrieben.",
            "default": true
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": []
      }
    },
    {
      "name": "approve_nk_statement",
      "status": "available",
      "domain": "nebenkosten",
      "description": "Approval from review to final. target_status approved is stored as final. dry_run defaults to true and approve to false, so nothing is written. A write happens only when dry_run is false, approve is true and the role is owner. Status is never set to sent. Approval is not delivery.",
      "description_de": "Freigabe von review nach final. target_status approved wird als final gespeichert. Standard dry_run true und approve false, dann wird nichts geschrieben. Geschrieben wird nur bei dry_run false und approve true und Rolle owner. Der Status sent wird nie gesetzt. Freigabe ist nicht Versand.",
      "parameters": {
        "type": "object",
        "properties": {
          "statement_id": {
            "type": "string",
            "description": "Statement id.",
            "description_de": "ID der Abrechnung."
          },
          "approve": {
            "type": "boolean",
            "description": "Must be true before an approval can be written.",
            "description_de": "Muss true sein, damit überhaupt freigegeben werden kann.",
            "default": false
          },
          "dry_run": {
            "type": "boolean",
            "description": "Defaults to true. When true, nothing is written.",
            "description_de": "Standard true. Bei true wird nichts geschrieben.",
            "default": true
          },
          "target_status": {
            "type": [
              "string",
              "null"
            ],
            "description": "Target status. Defaults to final. approved is an alias.",
            "description_de": "Zielstatus. Standard final. approved ist ein Alias.",
            "default": "final"
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": [
          "statement_id"
        ]
      }
    },
    {
      "name": "finalize_nk_pdf",
      "status": "available",
      "domain": "nebenkosten",
      "description": "Builds the PDF without the DRAFT watermark when status is final or sent. dry_run defaults to true. preview_final shows the layout without changing status. write_document_link can store a link in your own archive. Nothing is sent.",
      "description_de": "Erzeugt das PDF ohne Wasserzeichen ENTWURF, wenn der Status final oder sent ist. Standard dry_run true. preview_final zeigt das Layout, ohne den Status zu ändern. write_document_link legt optional einen Verweis in der eigenen Ablage an. Es wird nichts versendet.",
      "parameters": {
        "type": "object",
        "properties": {
          "statement_id": {
            "type": "string",
            "description": "Statement id.",
            "description_de": "ID der Abrechnung."
          },
          "dry_run": {
            "type": "boolean",
            "description": "Defaults to true. When true, nothing is written.",
            "description_de": "Standard true. Bei true wird nichts geschrieben.",
            "default": true
          },
          "preview_final": {
            "type": "boolean",
            "description": "Layout for review, without changing status.",
            "description_de": "Layout zur Prüfung, ohne den Status zu ändern.",
            "default": false
          },
          "write_document_link": {
            "type": "boolean",
            "description": "Optionally write a document link.",
            "description_de": "Optional einen Dokumentverweis schreiben.",
            "default": false
          },
          "include_beilagen_stub": {
            "type": "boolean",
            "description": "Include a placeholder for attachments.",
            "description_de": "Platzhalter für Anlagen mit ausgeben.",
            "default": true
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": [
          "statement_id"
        ]
      }
    },
    {
      "name": "prepare_nk_versand",
      "status": "available",
      "domain": "nebenkosten",
      "description": "Preparation only: checks the list for approval, final PDF, filing, delivery path and status sent. The tool is hard-blocked. execute_send does not lift the block. Nothing is sent and status is not set to sent.",
      "description_de": "Bereitet den Versand nur vor: prüft die Checkliste zu Freigabe, finalem PDF, Ablage, Zustellweg und Status sent. Das Tool ist fest blockiert. execute_send hebt die Sperre nicht auf. Es wird nichts versendet und der Status wird nicht auf sent gesetzt.",
      "parameters": {
        "type": "object",
        "properties": {
          "statement_id": {
            "type": "string",
            "description": "Statement id.",
            "description_de": "ID der Abrechnung."
          },
          "execute_send": {
            "type": "boolean",
            "description": "Ignored. Delivery stays blocked.",
            "description_de": "Wird ignoriert. Der Versand bleibt blockiert.",
            "default": false
          },
          "dry_run": {
            "type": "boolean",
            "description": "Defaults to true. When true, nothing is written.",
            "description_de": "Standard true. Bei true wird nichts geschrieben.",
            "default": true
          },
          "tenant_slug": {
            "type": [
              "string",
              "null"
            ],
            "description": "Optional. Selects a tenant whoami lists for this access. Any other tenant is rejected.",
            "description_de": "Optional. Wählt einen Mandanten, den whoami für diesen Zugang nennt. Jeder andere Mandant wird abgelehnt.",
            "default": null
          }
        },
        "required": [
          "statement_id"
        ]
      }
    }
  ]
}
