HiggsfieldMCP / tools /share_project.md
StarpowerTechnology's picture
Upload 333 files
7f635f8 verified
|
Raw History Blame Contribute Delete
1.75 kB

Use when the user asks to share a project with, invite, or give access to specific people, including creating a shared project (create_project first). Invites them by email with one role (view, collaborate or admin); default to view unless the user says otherwise. Same as inviting from the web Share dialog: invitees receive access to the project's content. Before calling, show the user exactly who gets which access and obtain explicit approval in this conversation; never infer emails. Requires confirm_share=true. Only owners and admins can invite; FNF enforces this. Do not retry an uncertain outcome; read get_project_sharing first.

mcp__Higgsfield__share_project(args: {
confirm_share: true,
// minItems: 1, maxItems: 10
emails: Array<
string // maxLength: 254, pattern: /^(?!\.)(?!.*\.\.)([A-Za-z0-9_'+\-\.]*)[A-Za-z0-9_+-]@([A-Za-z0-9][A-Za-z0-9\-]*\.)+[A-Za-z]{2,}$/, format: "email"
>,
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"
// view: see the project; collaborate: generate and organize content; admin: also manage members and settings.
role: "view" | "collaborate" | "admin",
// 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,
}>;