Cancel an invitation
cancel_invitationCancel a pending invitation so its link stops working. Confirm via preview_operation first; needs organization:manage permission and owner role.
Instructions
Cancel a pending invitation; its link stops working. Find ids with list_members and includeInvitations. Requires a confirmationToken: call preview_operation with tool "cancel_invitation" and these arguments first, show the returned plan to the user, and call this tool only after the user explicitly agrees. Needs the organization:manage permission and the owner role.
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": {
"organizationId": "<organizationId>",
"invitationId": "<invitationId>",
"confirmationToken": "<confirmationToken>"
},
"name": "cancel_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| requestId | No | Optional idempotency key, 8-255 printable characters. Reuse it only to retry this same call. | |
| invitationId | Yes | ||
| organizationId | Yes | ||
| confirmationToken | Yes |