Cancel Organization Invite
cancel_inviteCancel (revoke) a pending organization invite by its id (DELETE /api/invites/{inviteId}). DESTRUCTIVE — the invite can no longer be accepted. Get invite_id from list_invites, which returns every pending and recently expired invite with its id, email and role — do not guess it. WRITE TOOL — MCP WRITES ARE OFF BY DEFAULT FOR EVERY ORGANIZATION. This call needs ALL FOUR of: the admin:write scope, the organization switch turned on (an org admin enables it in Settings → Organization → AI agent access), an admin or super_admin org role, and confirm:true. Missing any one of them it refuses and changes nothing, and the error names which one — relay that to the user rather than retrying. Read-only cak_ API keys can never perform it. Example: { "invite_id": "a1b2c3d4-...", "confirm": true } revokes that invite.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"invite_id": "<invite_id>"
},
"name": "cancel_invite"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | No | Set to true to actually perform this write. Required: the tool refuses the mutation unless confirm:true is present. Authorization for the change itself is your org role, checked server-side. | |
| invite_id | Yes | The id of the pending invite to cancel (substituted into DELETE /api/invites/{inviteId}). |