Save Style QML
save_style_qmlSave a QGIS layer's style configuration to a portable QML file for reuse or sharing.
Instructions
Save a layer's style to a QGIS QML file.
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>",
"path": "<path>"
},
"name": "save_style_qml"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | ||
| layer_id | Yes |