manage_user_and_team
Change your Supermetrics team: invite a member (invite_member, email + role; sent only after the user approves it on a link you show them), assign team users to a subscription (add_user_to_subscription, license_id + user_ids), or replace a data source's prioritised (pinned) accounts (set_prioritised_accounts, ds_id + account_ids). Prioritised-account changes consume the monthly change quota. Read the current state with get_user_and_team first to find license_id, member user_ids and the existing pins.
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": {
"action": "<action>"
},
"name": "manage_user_and_team"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| role | No | Invitee role; required for invite_member | |
| ds_id | No | Data source code (e.g. AW, FA); required for set_prioritised_accounts | |
| No | Invitee email; required for invite_member | ||
| action | Yes | invite_member: invite a new user to the team; add_user_to_subscription: assign team users to a subscription; set_prioritised_accounts: replace a data source's prioritised (pinned) account set | |
| user_ids | No | Team member user IDs to assign (or a comma-separated string); required for add_user_to_subscription. From get_user_and_team | |
| license_id | No | Subscription/license ID; required for add_user_to_subscription. From get_user_and_team | |
| account_ids | No | The COMPLETE desired prioritised set for set_prioritised_accounts: omitted accounts are unpinned, [] clears all. Each change uses ~1 of ~10 monthly changes (resets the 1st, UTC). Call get_user_and_team first to see current pins and remaining quota. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| error | No | ||
| notes | No | ||
| success | Yes | ||
| business_context | No |