|
Download tools/update_project_sharing.md from StarpowerTechnology/HiggsfieldMCP: direct link, hf CLI and curl.
- Browser
- Download file 1.71 kB
-
https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/update_project_sharing.md
- Command line
-
hf download hf://datasets/StarpowerTechnology/HiggsfieldMCP/tools/update_project_sharing.md
-
curl -L -o update_project_sharing.md https://huggingface.co/datasets/StarpowerTechnology/HiggsfieldMCP/resolve/main/tools/update_project_sharing.md
1.71 kB
| Use when the user asks to share a project with their team or workspace, or to make it private again. access_mode=team lets every member of the project's workspace open it; access_mode=private keeps only the owner and invited people. New projects start private, so a team project needs this call. team reaches other people only in a shared team workspace (list_workspaces type=shared); if the project is in the private workspace, say so instead of calling. Use share_project for specific people. Other sharing settings keep their current values. Before calling, show the user exactly who gets which access and obtain explicit approval in this conversation; never infer emails. Requires confirm_change=true. This is not Community publication; use publish_project for a public page. | |
| ```ts | |
| mcp__Higgsfield__update_project_sharing(args: { | |
| // team: every member of the project's workspace can open it and collaborate; private: only the owner and invited people. | |
| access_mode: "private" | "team", | |
| confirm_change: true, | |
| project_id: string, // pattern: /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, format: "uuid" | |
| // Workspace context used for this request. This never changes the account's selected workspace. | |
| workspace_id: string, // pattern: /^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$/, format: "uuid" | |
| }): Promise<{ | |
| error?: string, | |
| // Additional JSON Schema constraints: propertyNames={"type": "string"} | |
| project?: { [key: string]: any }, | |
| [key: string]: any, | |
| }>; | |
| ``` |