MCPMCP Tools/Team/cancel_team_invite
cancel_team_invite
Writeteam:write
Cancel a team invitation that has not been accepted yet (status "Invited"): the invite link stops working and the pending member is deleted. Throws if the member already accepted — use remove_team_member to remove someone who has joined. Cannot be used on the owner. Not reversible; invite them again to restore it.
Parameters
memberIdstringrequired
The id of the invited member whose pending invite to cancel (required).
Example request
{
"jsonrpc": "2.0",
"id": 1,
"method": "tools/call",
"params": {
"name": "cancel_team_invite",
"arguments": {
"memberId": "string"
}
}
}Example response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"content": [
{
"type": "text",
"text": "..."
}
]
}
}Response shape shown for illustration — the actual content depends on the tool and your data.