Attach an account as a member
attach_account_as_memberStaff only. Moves account B so its users become seats of account A. They keep their logins, seat ids and sessions and now land in A. B's numbers, SIMs, payments, wallet cash and credit join A; A's holds are never touched. Refused when the brands or currencies differ, a user is already on A, A's plan has no room for the seats, or a unique clash has no safe resolution. Pass source_consumer_user_id or source_consumer_id, and target_consumer_user_id or target_consumer_id. Optional role defaults to Account User. Without confirm it returns what would move and what blocks it. With confirm it runs in one transaction and is safe to repeat. Removing B's emptied consumer and legal account is a separate call with hard_delete and confirm, after the attach; B's users and seats are never deleted.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "attach_account_as_member"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Role on the target. Default Account User. | |
| confirm | No | Runs it. | |
| hard_delete | No | Remove the emptied consumer and legal account. Needs a confirmed attach first. | |
| idempotency_key | No | A repeat with the same key changes nothing. | |
| source_consumer_id | No | The account that moves, instead of a seat. | |
| target_consumer_id | No | The account they join, instead of a seat. | |
| source_consumer_user_id | No | A seat on the account that moves. | |
| target_consumer_user_id | No | A seat on the account they join. |