Set Layer CRS
set_layer_crsAssign a coordinate reference system to a QGIS layer to correctly interpret its existing coordinates without reprojecting the data.
Instructions
Set the CRS of a layer (e.g. 'EPSG:4326'). This does NOT reproject data — it only changes how the layer's coordinates are interpreted.
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>",
"crs": "<crs>"
},
"name": "set_layer_crs"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | Yes | ||
| layer_id | Yes |