Create Location
sia_create_locationCreate a new location by specifying its name, location type ID, and GeoJSON coordinates.
Instructions
Create a new location (e.g. assembly point) in the SIA LocationService.
Args:
name (string): Display name
description (string, optional): Notes
locationType_ID (string): UUID of the location type
geolocation_geojson (string): GeoJSON Point string, e.g. '{"type":"Point","coordinates":[lng, lat]}'
Returns: Created Location object with ID
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": {
"name": "<name>",
"locationType_ID": "<locationType_ID>",
"geolocation_geojson": "<geolocation_geojson>"
},
"name": "sia_create_location"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| description | No | ||
| locationType_ID | Yes | ||
| geolocation_geojson | Yes | GeoJSON Point string, e.g. '{"type":"Point","coordinates":[lng,lat]}' |