create_or_update_tenant
Create or replace a tenant. Tenants represent organizations or groups that users belong to.
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": {
"tenant_id": "<tenant_id>",
"name": "<name>"
},
"name": "create_or_update_tenant"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Display name for the tenant | |
| brand_id | No | Brand ID to associate with this tenant | |
| tenant_id | Yes | The tenant ID | |
| properties | No | Custom properties for the tenant | |
| user_profile | No | Default profile data for users in this tenant | |
| parent_tenant_id | No | Parent tenant ID for hierarchical tenants | |
| default_preferences | No | Default notification preferences applied to users in this tenant. Example: { "items": [{ "id": "topic_abc", "status": "OPTED_IN", "type": "subscription_topic" }] } |