Create Area
sia_create_areaCreate a new geographic area with polygon boundary, validity period, and type for field or crop zone management. Returns the area ID.
Instructions
Create a new geographic area in the SIA AreaService.
Areas define the boundary polygon for a field or crop zone. Returns the created Area ID.
Args:
name (string): Display name of the area
validFrom (string): ISO datetime from which the area is valid, e.g. "2026-01-01T00:00:00.000Z"
validTo (string, optional): ISO datetime until which the area is valid; omit for indefinite
areaType_ID (string): UUID of the area type
boundary_geojson (string): GeoJSON string defining the area polygon
isAutomaticallyCalculated (boolean): Whether area size is auto-calculated from geometry
areaSize (number, optional): Manual area size in hectares (used when isAutomaticallyCalculated=false)
isBlocked (boolean, optional): Whether the area is blocked (default: false)
Returns: Created Area object with ID
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name of the area | |
| validTo | No | ISO datetime or null for indefinite | |
| areaSize | No | Manual area size in hectares | |
| isBlocked | No | Whether area is blocked | |
| validFrom | Yes | ISO datetime, e.g. '2026-01-01T00:00:00.000Z' | |
| areaType_ID | Yes | UUID of the area type | |
| boundary_geojson | Yes | GeoJSON string for the area polygon | |
| isAutomaticallyCalculated | Yes | Auto-calculate area from geometry |