Cancel an invitation
cancel_invitationCancel 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 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| role | Yes | ||
| Yes | |||
| state | Yes | ||
| createdAt | Yes | ||
| expiresAt | Yes | ||
| acceptedAt | No | ||
| projectIds | Yes | The projects a selected access reaches, limited to those still in the organization; empty when the mode is all. It may be empty on selected once its projects left the organization, which grants nothing | |
| projectAccessMode | Yes | Which projects of the organization the invitee reaches on accepting: every project, or only projectIds |