Get Style Reference
get_style_referenceRead Magic Lane Studio style reference as Markdown to understand style JSON layout, layers, colours, fonts, and paint properties before editing. Filter documentation by section heading.
Instructions
Read the Magic Lane Studio style reference, as Markdown. Without arguments: the style editing essentials (built in, about 7 KB): file layout, drawing order, the data numbers of common layers, paint stop lists, ABGR colours, text codes, icons and fonts, Studio's shared colours, checks before saving. Read them before editing style JSON. The full pages come from developer.magiclane.com: "style-file-format" (the whole format), "map-data-sources" (every layer data number and the POI categories by metaCategoryID) and "layer-types-reference" (every layer type and the paint properties it takes; long, so without "section" you get its outline). "section" returns only the parts whose heading contains it. The same pages are resources magiclane://docs/.
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": "get_style_reference"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | "style-essentials" (default, built in): what most edits need. "style-file-format": the full format page. "map-data-sources": which data a layer draws, by type and sourcedata_id, and the POI categories. "layer-types-reference": every layer type and its paint properties (long: pass section). | style-essentials |
| section | No | Return only the sections whose heading contains this text (case-insensitive), for example "Colours", "Fonts" or "symbol". Without it the whole page is returned, or for a long page its outline. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | The page that was read. | |
| outline | Yes | True when the page was too long and only its outline is returned. | |
| section | No | The heading text the page was narrowed to. | |
| markdown | Yes | The page, a section of it, or its outline. |