mapbox-create-map-mcp 1.4.1 → 1.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/server.js +10 -2
package/package.json
CHANGED
package/src/server.js
CHANGED
|
@@ -604,13 +604,21 @@ class McpServer {
|
|
|
604
604
|
type: 'string',
|
|
605
605
|
description: '搜索关键词,例如: "车辆", "地图", "定位", "建筑" 等'
|
|
606
606
|
},
|
|
607
|
+
id: {
|
|
608
|
+
type: 'number',
|
|
609
|
+
description: '图标ID,传入后会优先查找该ID的图标,方便复用之前的图标'
|
|
610
|
+
},
|
|
611
|
+
index: {
|
|
612
|
+
type: 'number',
|
|
613
|
+
description: '选择搜索结果中的第几个图标,从0开始,范围0-49,默认0'
|
|
614
|
+
},
|
|
607
615
|
color: {
|
|
608
616
|
type: 'string',
|
|
609
|
-
description: '图标颜色,十六进制格式,例如: "#FF0000"
|
|
617
|
+
description: '图标颜色,十六进制格式,例如: "#FF0000"。不传则保持原始颜色'
|
|
610
618
|
},
|
|
611
619
|
size: {
|
|
612
620
|
type: 'number',
|
|
613
|
-
description: '图标大小,单位为像素,默认
|
|
621
|
+
description: '图标大小,单位为像素,默认48'
|
|
614
622
|
}
|
|
615
623
|
},
|
|
616
624
|
required: ['keyword']
|