declare_changed_property
Protect property overrides from schema sync by marking them as locally changed, preventing resets on refresh for composite/Direct Lake objects.
Instructions
Mark a property as locally CHANGED so a schema sync does not wipe your override on a composite / Direct Lake object (name, isHidden, formatString, summarizeBy etc. are otherwise treated as source-owned and reset on refresh). objectType = model | table | column | measure | hierarchy | partition | relationship; pass the object's table where needed.
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": {
"sessionId": "<sessionId>",
"objectType": "<objectType>",
"name": "<name>",
"property": "<property>"
},
"name": "declare_changed_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | the object's name | |
| table | No | the object's table (for column/measure/hierarchy/partition) | |
| property | Yes | the property to protect, e.g. Name, IsHidden, FormatString, SummarizeBy | |
| sessionId | Yes | ||
| objectType | Yes | model | table | column | measure | hierarchy | partition | relationship |