clip_vector
Clip vector geometries to a specified boundary using geopandas. Supply an input geospatial file and a clipping geometry to extract features within the clip area.
Instructions
Clip vector geometries using geopandas.clip. Args: gdf_path: Path to the input geospatial file. clip_path: Path to the clipping geometry file. output_path: Optional path to save the result. Returns: Dictionary with status, message, and output info.
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": {
"gdf_path": "<gdf_path>",
"clip_path": "<clip_path>"
},
"name": "clip_vector"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gdf_path | Yes | ||
| clip_path | Yes | ||
| output_path | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||