Remove someone from the team
remove_memberRemoves a team member (list_members): they lose access at once, and the API keys they created here stop working. It first needs a manager's OK in Shager: the call answers needs_confirmation with confirm_url; after they approve, make the same call again. The owner can't be removed, nobody removes themselves this way, and the last full manager stays. (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": {
"member_id": "<member_id>"
},
"name": "remove_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| member_id | Yes | From list_members | |
| confirmation_token | No | The confirmation_token from needs_confirmation. The call goes through only after your human approved this exact action at confirm_url. |