Remove Member
remove_memberRemoves a team member from the company, revoking their financial access while preserving historical tasks, interactions, and transactions. Requires owner role and blocks removal of the last owner.
Instructions
Remove a team member from the company. Deletes their company_members row, revoking all financial access. Their historical data (tasks, interactions, transactions) is preserved. Cannot remove the last owner. Requires 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": {
"target_user_id": "<target_user_id>"
},
"name": "remove_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target_user_id | Yes | The user_id of the member to remove. |