Accept account invitation

veryfront__accept_account_invitation

Access

No external-service connection is required. Use a Veryfront credential with access to the requested resources.

Call type: Can change resources.

Arguments

FieldTypeRequiredDescription and constraints
tokenstringYesInvitation acceptance token. Requires a user session; API keys are refused. Fresh acceptance requires the matching current email. Repeating acceptance returns the existing membership for the same accepting user, if that membership still exists. Unknown or revoked tokens return 404; a fresh request with a mismatched email returns 403. Expired or no longer authorized invitations return 409. Minimum length: 20. Maximum length: 200.

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.

json
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "tools/call",
  "params": {
    "name": "veryfront__accept_account_invitation",
    "arguments": {
      "token": "example"
    }
  }
}

Result

The published output shape is summarized below. Inspect both the MCP response content and isError when handling a call.

FieldTypeRequiredDescription and constraints
idstringYesUnique identifier for the returned record. Format: uuid.
slugstringYesThe slug returned by the tool.
namestringYesHuman-readable name for the returned record.
kindstringYesThe kind returned by the tool. Values: "personal", "team".
created_atstringYesCreation timestamp in ISO 8601 format.
updated_atstringYesLast update timestamp in ISO 8601 format.
membershipobjectYesThe caller's own membership in this account, including their resolved role and capabilities.

Full schemas

json
{
  "type": "object",
  "properties": {
    "token": {
      "type": "string",
      "minLength": 20,
      "maxLength": 200,
      "description": "Invitation acceptance token. Requires a user session; API keys are refused. Fresh acceptance requires the matching current email. Repeating acceptance returns the existing membership for the same accepting user, if that membership still exists. Unknown or revoked tokens return 404; a fresh request with a mismatched email returns 403. Expired or no longer authorized invitations return 409."
    }
  },
  "required": [
    "token"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Arguments for the accept_account_invitation tool."
}
json
{
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "format": "uuid",
      "description": "Unique identifier for the returned record."
    },
    "slug": {
      "type": "string",
      "description": "The slug returned by the tool."
    },
    "name": {
      "type": "string",
      "description": "Human-readable name for the returned record."
    },
    "kind": {
      "type": "string",
      "enum": [
        "personal",
        "team"
      ],
      "description": "The kind returned by the tool."
    },
    "created_at": {
      "type": "string",
      "description": "Creation timestamp in ISO 8601 format."
    },
    "updated_at": {
      "type": "string",
      "description": "Last update timestamp in ISO 8601 format."
    },
    "membership": {
      "type": "object",
      "properties": {
        "role": {
          "type": "string",
          "enum": [
            "owner",
            "admin",
            "member"
          ],
          "description": "The role returned by the tool."
        },
        "capabilities": {
          "type": "array",
          "items": {
            "type": "string",
            "enum": [
              "account.read",
              "account.settings.manage",
              "account.members.read",
              "account.members.manage",
              "account.invitations.read",
              "account.invitations.manage",
              "account.projects.read",
              "account.projects.create",
              "account.billing.read",
              "account.billing.manage",
              "account.ownership.transfer",
              "account.delete"
            ],
            "description": "One capability item returned by the tool."
          },
          "description": "List of capabilities returned by the tool."
        }
      },
      "required": [
        "role",
        "capabilities"
      ],
      "additionalProperties": false,
      "description": "The caller's own membership in this account, including their resolved role and capabilities."
    }
  },
  "required": [
    "id",
    "slug",
    "name",
    "kind",
    "created_at",
    "updated_at",
    "membership"
  ],
  "additionalProperties": false,
  "$schema": "http://json-schema.org/draft-07/schema#",
  "description": "Structured result returned by the accept_account_invitation tool."
}