remove_building_from_dataset
Remove a building from a CityJSON/CityGML dataset using its gml:id. Directly modifies the dataset and reports the remaining building count.
Instructions
Entfernt ein Gebäude aus dem Dataset.
Die Änderung wird direkt im Dataset vorgenommen (Single Source of Truth). Verwende take_snapshot() vor wichtigen Änderungen und save_dataset() zum Speichern.
Args: building_id: Die gml:id des zu entfernenden Gebäudes
Returns: dict: Bestätigungsmeldung mit Anzahl verbleibender Gebäude
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": {
"building_id": "<building_id>"
},
"name": "remove_building_from_dataset"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| building_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||