Edit Style Details
edit_style_detailsUpdate a Magic Lane Studio style's name, description, tags, or purposes without changing its content; resend with the latest version to resolve save conflicts.
Instructions
Change the name, description, tags and/or purposes of one of your Magic Lane Studio styles. Only the fields sent change: "" clears description, [] clears tags or purposes (never send null). The style content is not touched (use update_style for that). Send the "version" last read as baseVersion; a conflict means the style was saved since — read it again and resend. Limits: name 1–100 characters without line breaks; description up to 1000; up to 20 tags of 1–16 characters without commas; purposes only from the fixed list. Templates cannot be edited. Requires "Studio: Read & write". Publishing, reverting and deleting styles, previews, thumbnails and privacy settings are Studio actions (https://developer.magiclane.com/studio) and are not available through these tools; a save here only saves.
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>",
"baseVersion": "<baseVersion>"
},
"name": "edit_style_details"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Id of one of your styles (UUID); a template cannot be changed. | |
| name | No | Style name, 1–100 characters, no line breaks or tabs. | |
| tags | No | Free-text tags. Replaces the whole list; [] clears it. Up to 20, each 1–16 characters, no commas; duplicates are removed. | |
| purposes | No | Purposes the style is meant for. Replaces the whole list; [] clears it. Only these values: browse, navigation-car, navigation-truck, navigation-bike, navigation-pedestrian, satellite, elevation; duplicates are removed. | |
| baseVersion | Yes | The "version" string of the style as last read (from get_style, list_styles, create_style or a previous write), unchanged. Opaque: never parse or edit it. If the style was saved since (for example in Studio) the write is refused with a conflict and nothing changes. | |
| description | No | Description, up to 1000 characters, line breaks allowed. "" clears it. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Style id (UUID). | |
| name | Yes | Style name. | |
| note | No | Present when the save's outcome was unclear (its answer was lost, or it was sent twice) and reading the style back confirmed the change. | |
| 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". | |
| published | Yes | When the style was last published, or that it never was. | |
| isTemplate | Yes | True for a shared template, which cannot be changed. | |
| resolution | Yes | ||
| description | Yes | Style description. |