Create account invitation

Create account invitation. Requires account.invitations.manage.

Arguments

  • emailstring · email · max length 254required

    Invitation recipient email. Only one pending invitation is allowed per email; another creation returns 409 until it is revoked or expires. Creation does not send email or reserve a seat; tier and seat capacity are checked when a new member accepts.

  • rolestring · default admin

    Invited administrator or member role. Defaults to administrator for existing clients. One of admin, member.

  • account_idstring · uuidrequired

    Provide the account id.

Responses

curl -X POST -N "https://api.veryfront.com/mcp" \  -H "Authorization: Bearer $VERYFRONT_API_KEY" \  -H "Accept: application/json, text/event-stream" \  -H "Content-Type: application/json" \  -d '{  "jsonrpc": "2.0",  "id": 1,  "method": "tools/call",  "params": {    "name": "veryfront__create_account_invitation",    "arguments": {      "email": "[email protected]",      "account_id": "00000000-0000-0000-0000-000000000000"    }  }}'
{  "jsonrpc": "2.0",  "id": 1,  "result": {    "content": [      {        "type": "text",        "text": "{\"id\":\"00000000-0000-0000-0000-000000000000\",\"account_id\":\"00000000-0000-0000-0000-000000000000\",\"email\":\"string\",\"role\":\"owner\",\"status\":\"pending\",\"expires_at\":\"string\",\"invited_by_user_id\":\"00000000-0000-0000-0000-000000000000\",\"accepted_by_user_id\":\"00000000-0000-0000-0000-000000000000\",\"resolved_at\":\"string\",\"created_at\":\"string\",\"token\":\"string\"}"      }    ],    "structuredContent": {      "id": "00000000-0000-0000-0000-000000000000",      "account_id": "00000000-0000-0000-0000-000000000000",      "email": "string",      "role": "owner",      "status": "pending",      "expires_at": "string",      "invited_by_user_id": "00000000-0000-0000-0000-000000000000",      "accepted_by_user_id": "00000000-0000-0000-0000-000000000000",      "resolved_at": "string",      "created_at": "string",      "token": "string"    }  }}

The tool ran; its output is result.structuredContent.