veryfront__create_project_invitation
Requires project.invites.manage.
Access
No external-service connection is required. Use a Veryfront credential with access to the requested resources.
Call type: Can change resources.
Arguments
| Field | Type | Required | Description and constraints |
|---|---|---|---|
project_reference | string | No | Project ID or slug. |
email | string | Yes | Email address to invite; stored in lowercase. Maximum length: 100. Format: email. |
role | string | Yes | Role to grant: admin, editor or viewer. Values: "admin", "editor", "viewer". |
Example request
Send this JSON-RPC request through an initialized MCP client. Replace sample identifiers and values before calling the tool. See MCP client setup.
request.json
1{2 "jsonrpc": "2.0",3 "id": 1,4 "method": "tools/call",5 "params": {6 "name": "veryfront__create_project_invitation",7 "arguments": {8 "email": "[email protected]",9 "role": "admin"10 }11 }12}Result
The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.
| Field | Type | Required | Description and constraints |
|---|---|---|---|
outcome | string | Yes | member_added when the email already belongs to a user, who is added to the project (or has their role changed); invitation_created when a pending invitation was stored. Values: "member_added", "invitation_created". |
invitation | object or null | Yes | The pending invitation; null when outcome is member_added. |
user_id | string or null | Yes | The added user; set only when outcome is member_added. |
email_sent | boolean | Yes | Whether the email service accepted the notification send. False when sending is unavailable or fails; it does not confirm inbox delivery. |
Full schemas
input-schema.json
1{2 "type": "object",3 "properties": {4 "project_reference": {5 "type": "string",6 "description": "Project ID or slug."7 },8 "email": {9 "type": "string",10 "format": "email",11 "maxLength": 100,12 "description": "Email address to invite; stored in lowercase."13 },14 "role": {15 "type": "string",16 "enum": [17 "admin",18 "editor",19 "viewer"20 ],21 "description": "Role to grant: admin, editor or viewer."22 }23 },24 "required": [25 "email",26 "role"27 ],28 "additionalProperties": false,29 "description": "Arguments for the create_project_invitation tool.",30 "$schema": "http://json-schema.org/draft-07/schema#"31}output-schema.json
1{2 "type": "object",3 "properties": {4 "outcome": {5 "type": "string",6 "enum": [7 "member_added",8 "invitation_created"9 ],10 "description": "member_added when the email already belongs to a user, who is added to the project (or has their role changed); invitation_created when a pending invitation was stored."11 },12 "invitation": {13 "anyOf": [14 {15 "type": "object",16 "properties": {17 "id": {18 "type": "string",19 "description": "Invitation ID."20 },21 "project_id": {22 "type": "string",23 "format": "uuid",24 "description": "ID of the project the invitation is for."25 },26 "email": {27 "type": "string",28 "description": "Email address the invitation was sent to."29 },30 "role": {31 "type": "string",32 "enum": [33 "admin",34 "editor",35 "viewer"36 ],37 "description": "Role the invitation grants: admin, editor or viewer."38 },39 "created_at": {40 "type": [41 "string",42 "null"43 ],44 "description": "When the invitation was created (RFC 3339), or null if not recorded."45 }46 },47 "required": [48 "id",49 "project_id",50 "email",51 "role",52 "created_at"53 ],54 "additionalProperties": false,55 "description": "Structured invitation details associated with this tool result."56 },57 {58 "type": "null",59 "description": "The invitation returned by the tool."60 }61 ],62 "description": "The pending invitation; null when outcome is member_added."63 },64 "user_id": {65 "anyOf": [66 {67 "type": "string",68 "format": "uuid"69 },70 {71 "type": "null",72 "description": "The user id returned by the tool."73 }74 ],75 "description": "The added user; set only when outcome is member_added."76 },77 "email_sent": {78 "type": "boolean",79 "description": "Whether the email service accepted the notification send. False when sending is unavailable or fails; it does not confirm inbox delivery."80 }81 },82 "required": [83 "outcome",84 "invitation",85 "user_id",86 "email_sent"87 ],88 "additionalProperties": false,89 "description": "Structured result returned by the create_project_invitation tool.",90 "$schema": "http://json-schema.org/draft-07/schema#"91}