Cancel a team invitation
cancel_invitationCancels an invitation that is still waiting for an answer (list_members invitations): its link stops working at once. Needs the publish scope and a key whose human manages the team, like invite_member. Removing a member or changing someone's role isn't offered to agents (a misled agent could lock people out or hand out write access): the human does it on the Team page. (Not available in an unclaimed sandbox.)
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": {
"invitation_id": "<invitation_id>"
},
"name": "cancel_invitation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| invitation_id | Yes | id from list_members invitations |