report_custom_dimension_upsert
Add or update one tenant custom report property on a virtual Business Context entity type.
The tool preserves existing custom dimensions and only replaces the dimension with the same key. It creates a tenant-scoped override when the target type is a system definition.
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": {
"key": "<key>",
"label": "<label>",
"type": "<type>"
},
"name": "report_custom_dimension_upsert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | Dimension key, e.g. is_intercompany | |
| sql | No | Safe scalar SQL expression over the bound view columns | |
| type | Yes | Cube dimension type | |
| view | No | Analytics view to update, e.g. customers, vendors, chart_of_accounts | |
| label | Yes | Human label, e.g. Intercompany | |
| entity_type | No | Entity type to update, e.g. customer, vendor, gl_account | |
| entity_type_id | No | Exact entity type definition ID to update | |
| custom_field_name | No | Legacy shorthand: extract this custom field name from custom_fields |