Add Web Layer
add_web_layerAdd a web layer (XYZ, WMS, or WFS) to the QGIS project by specifying its URL and service type.
Instructions
Add a web layer (XYZ, WMS, WFS) to the project. service: 'xyz', 'wms', 'wfs'.
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": {
"url": "<url>",
"service": "<service>"
},
"name": "add_web_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| crs | No | EPSG:3857 | |
| url | Yes | ||
| name | No | ||
| service | Yes |