create_style
Generate SLD styles for GeoServer by specifying a style name and SLD XML content. Optional workspace inclusion allows for organized style management within GeoServer.
Instructions
Create a new SLD style in GeoServer.
Args:
name: Name for the style
sld: SLD XML content
workspace: Optional workspace for the style
Returns:
Dict with status and style information
Input Schema
Name | Required | Description | Default |
---|---|---|---|
name | Yes | ||
sld | Yes | ||
workspace | No |
Input Schema (JSON Schema)
{
"properties": {
"name": {
"title": "Name",
"type": "string"
},
"sld": {
"title": "Sld",
"type": "string"
},
"workspace": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Workspace"
}
},
"required": [
"name",
"sld"
],
"title": "create_styleArguments",
"type": "object"
}