create_layer
Add a new layer to GeoServer by specifying workspace, layer name, data store, and source. Integrates with AI assistants for geospatial data management via natural language commands.
Instructions
Create a new layer in GeoServer.
Args:
workspace: The workspace for the new layer
layer: The name of the layer to create
data_store: The data store to use
source: The source data (file, table name, etc.)
Returns:
Dict with status and layer information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
data_store | Yes | ||
layer | Yes | ||
source | Yes | ||
workspace | Yes |
Input Schema (JSON Schema)
{
"properties": {
"data_store": {
"title": "Data Store",
"type": "string"
},
"layer": {
"title": "Layer",
"type": "string"
},
"source": {
"title": "Source",
"type": "string"
},
"workspace": {
"title": "Workspace",
"type": "string"
}
},
"required": [
"workspace",
"layer",
"data_store",
"source"
],
"title": "create_layerArguments",
"type": "object"
}