Loftlancer Docs
MCPTools

invitation_accept

MCP tool for the invitation.accept action.

MCP tool
invitation_accept
Canonical action
invitation.accept
Description
Accept invitation
OAuth scopes
mcp:toolsorganizations:write
Org roles
owner, manager, member
Project grant
Org role only

Input (JSON)

Validated with Zod in @loftlancer/api/mcp. Organization context uses organizationId or organizationSlug (MCP tokens do not carry an active-org cookie).

{
  "$ref": "#/definitions/invitation_accept",
  "definitions": {
    "invitation_accept": {
      "type": "object",
      "properties": {
        "invitationId": {
          "type": "string",
          "minLength": 1
        }
      },
      "required": [
        "invitationId"
      ],
      "additionalProperties": false
    }
  },
  "$schema": "http://json-schema.org/draft-07/schema#"
}

Example request

{
  "name": "invitation_accept",
  "arguments": {}
}

Output

The MCP server returns a single text content block whose body is pretty-printed JSON from the underlying studio tRPC caller (runMcpTool in @loftlancer/api/mcp). Errors surface as tool errors (for example insufficient_scope, organization_required, or validation messages).