Get a geo.admin.ch layer's fields and metadata
get_layer_infoRetrieve geo.admin.ch layer details—title, abstract, owner, queryability, time support, attribute fields, sample values, and legend/map links—to choose search fields or interpret point-query results.
Instructions
Describe one geo.admin.ch layer: title, abstract, data owner, whether it is queryable (identify/find work), time-enabled, attribute fields (name/alias/type + sample values) and legend/map links. Use before find_layer_features (to pick a search field) or to interpret query_layer_at_point attributes. Example: layer_id='ch.bag.radonkarte'.
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>"
},
"name": "get_layer_info"
}
}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 |