clip_layer
Clip a layer to a mask layer's area, automatically aligning coordinate reference systems. Flags warnings for non-overlapping extents or empty results.
Instructions
Clip a layer to the area of a mask layer. CRS are aligned automatically.
A warnings key in the result means the analysis ran but something is worth
your attention (typically an empty result, or inputs whose extents do not
overlap); each entry carries a hint. Inputs without a CRS are refused.
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": {
"input_path": "<input_path>",
"mask_path": "<mask_path>",
"output_path": "<output_path>"
},
"name": "clip_layer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mask_path | Yes | ||
| input_path | Yes | ||
| output_path | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||