@cloudbase/cloudbase-mcp 1.0.4 → 1.0.5
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/dist/tools/hosting.js +2 -2
- package/package.json +1 -1
package/dist/tools/hosting.js
CHANGED
|
@@ -10,8 +10,8 @@ const cloudbase = new CloudBase({
|
|
|
10
10
|
export function registerHostingTools(server) {
|
|
11
11
|
// uploadFiles - 上传文件到静态网站托管
|
|
12
12
|
server.tool("uploadFiles", "上传文件到静态网站托管", {
|
|
13
|
-
localPath: z.string().optional().describe("
|
|
14
|
-
cloudPath: z.string().optional().describe("
|
|
13
|
+
localPath: z.string().optional().describe("本地文件或文件夹路径,需要是绝对路径,例如 /tmp/files/data.txt"),
|
|
14
|
+
cloudPath: z.string().optional().describe("云端文件或文件夹路径,例如files/data.txt"),
|
|
15
15
|
files: z.array(z.object({
|
|
16
16
|
localPath: z.string(),
|
|
17
17
|
cloudPath: z.string()
|