Get geo.admin.ch feature(s) by id
get_layer_featureFetches full attributes for up to 10 geo.admin.ch layer features by feature ID; use IDs from point queries or layer searches to inspect specific map objects.
Instructions
Fetch the full attributes of one or more features of a geo.admin.ch layer by feature id (ids come from query_layer_at_point or find_layer_features). Example: layer_id='ch.bfs.gebaeude_wohnungs_register', feature_id='1231641_0'. Up to 10 comma-separated ids.
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": {
"layer_id": "<layer_id>",
"feature_id": "<feature_id>"
},
"name": "get_layer_feature"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| lang | No | Language for labels/attributes: de, fr, it, rm or en (default en) | en |
| layer_id | Yes | geo.admin.ch layer id (BOD id), e.g. 'ch.bafu.laerm-strassenlaerm_tag', find ids with search_map_layers | |
| feature_id | Yes | Feature id, or up to 10 comma-separated ids | |
| return_geometry | No | Include a WGS84 anchor point |