Team users and OAuth accounts (write)
accounts_writeInvite Hevo team users and update their roles or OAuth account settings. Each write call requires user approval before changes apply.
Instructions
WRITE: changes Hevo with the caller's permissions. Every call asks the user to approve it first. Write operations on Team users and OAuth accounts accounts: invite_user, invite_user_with_roles, update_user_role, update_user_roles. name is the endpoint; get_schema(name) gives its parameters and body.
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": {
"name": "<name>",
"region": "<region>"
},
"name": "accounts_write"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | No | Request body: a JSON object, or a JSON string. See get_schema(name).request_body. | |
| name | Yes | Endpoint to call (see list_endpoints and get_schema). | |
| batch | No | The same action on many targets: a list of path_params objects, one per target, instead of path_params. The user gets one approval prompt listing every target, then one request is made per target (body and query shared) and each result is reported. Use it after the user confirmed the list. | |
| query | No | Query-string parameters. | |
| region | Yes | Hevo region to call (asia, au, eu, eu2, in, us, us-gcp, us2): the region the user's account is in, the subdomain they sign in at. Required; ask the user if you don't know it. | |
| path_params | No | Values for the {placeholders} in the endpoint path; this tool's endpoints use: email. get_schema(name) lists each endpoint's parameters. |