Get Style
get_styleRead a Magic Lane Studio style or template's metadata, current version, and optional full JSON to obtain the baseVersion required before updating it; set includeData=false for metadata only.
Instructions
Read one Magic Lane Studio style (or template) of the account: its metadata, its current "version" string and, by default, its full style JSON as "data" (170–190 KB). Call this before update_style or edit_style_details to obtain the version to send as baseVersion; set includeData=false when only the metadata is needed. A style of another account is reported as not found. "dataFormat", next to "data", lists the format traps (colours are ABGR integers); before editing, read the essentials with get_style_reference (no arguments, also resource magiclane://docs/style-essentials).
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": {
"id": "<id>"
},
"name": "get_style"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Style id (from list_styles) or template id (from list_templates). | |
| includeData | No | Include the full style JSON ("data", 170-190 KB). Set false to read only the metadata and the current version, for example before edit_style_details. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Style id (UUID). | |
| data | No | The style JSON document. | |
| name | Yes | Style name. | |
| tags | Yes | Free-text tags. | |
| updated | Yes | Last save, ISO date-time. | |
| version | Yes | ||
| purposes | Yes | What the style is meant for, such as "browse". | |
| sections | No | Top-level sections of the style JSON. | |
| published | Yes | When the style was last published, or that it never was. | |
| dataFormat | No | What to know before editing data. | |
| isTemplate | Yes | True for a shared template, which cannot be changed. | |
| resolution | Yes | ||
| description | Yes | Style description. |