list_style_layers
List everything a MapMap style theme can style: the first-party named bases a style can start from (pass one as create_style's base, or as the static-map API's style=), the named palette slots with their light/dark default colours, the skeleton layer ids (paint order) that set_layer_paint and set_layer_layout accept, what the less obvious layers draw (the footpath layers road-path and road-path-* for footways, cycleways, steps, bridleways, pedestrian streets and tracks, pedestrian squares pedestrian-areas) and the slot that colours each, the OpenMapTiles source-layers extra layers may reference, the insertion slots (bottom, middle, top) an extra layer may name, and the rules for a theme's own sources (your data by https URL). Attribution is enforced on every compiled style and cannot be themed away. Local lookup, no network; always works.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "list_style_layers"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bases | Yes | The first-party named bases a style can start from, in display order: pass one to `create_style`'s `base`, or to the static-map API's `style=`. | |
| slots | Yes | The insertion slots an extra layer may name (`"slot"`), bottom of the stack first, with the layer each sits directly below. A layer without a slot goes in `middle`. | |
| sources | Yes | The rules for a theme's own `sources` (customer data by URL). | |
| layer_ids | Yes | The skeleton layer ids a theme's `layers` may override, in paint order (first = bottom). | |
| attribution | Yes | The attribution contract: enforced on every compiled style, not themable. | |
| palette_slots | Yes | The named palette slots a theme's `palette` may override, with their light/dark defaults, in presentation order. | |
| source_layers | Yes | The OpenMapTiles source-layers the tiles emit; an extra layer on the `territory` source must reference one of these. | |
| layer_descriptions | Yes | What a layer draws and the palette slot that colours it, for the layers whose id alone does not say (footpaths and pedestrian squares). |