Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| CESIUM_TOOLSETS | No | Comma-separated list of toolset groups to enable (e.g. camera,bindbindentity,bindlayer). Use 'all' for all 43 tools. | all |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
| resources | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| flyTo | 飞行到指定经纬度位置(带动画过渡) |
| addGeoJsonLayer | 添加 GeoJSON 图层到地图(支持 Point/Line/Polygon,可配置颜色/分级/分类渲染) |
| addLabel | 为 GeoJSON 要素添加文本标注(显示属性值) |
| removeLayer | 从地图上移除指定图层(按图层ID) |
| setBasemap | 切换底图风格(暗色/卫星影像/标准) |
| screenshot | 截取当前地图视图(返回 base64 PNG) |
| highlight | 高亮指定图层的要素 |
| setView | 瞬间切换到指定经纬度视角(无动画) |
| getView | 获取当前相机视角信息(经纬度、高度、角度) |
| zoomToExtent | 缩放到指定地理范围 |
| addMarker | 在指定经纬度添加标注点,返回 layerId 供后续操作 |
| addPolyline | 在地图上添加折线(路径、线段),返回 entityId |
| addPolygon | 在地图上添加多边形区域(面积、边界),返回 entityId |
| addModel | 在指定经纬度放置 3D 模型(glTF/GLB),返回 entityId |
| updateEntity | 更新已有实体的属性(位置、颜色、标签、缩放、可见性) |
| removeEntity | 移除单个实体(通过 entityId) |
| setLayerVisibility | 设置图层可见性 |
| listLayers | 获取当前所有图层列表(含 ID、名称、类型、可见性) |
| updateLayerStyle | 修改已有图层的样式(颜色、透明度、标注样式等) |
| list_toolsets | List all available tool groups and their enabled status. Call this to discover additional capabilities before asking the user to configure anything. |
| enable_toolset | Enable a tool group to make its tools available. Call list_toolsets first to see available groups. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
| camera | 当前相机状态(经纬度、高度、角度) |
| layers | 当前已加载的图层列表(ID、名称、类型、可见性) |