set_extended_property
Set typed extended properties (String or Json) on any Power BI model object—model, table, column, measure, hierarchy, partition. Replaces same-named properties for structured metadata.
Instructions
Set a typed extended property on any model object: type = String | Json. objectType = model | table | column | measure | hierarchy | partition. Pass the object's table for column/measure/hierarchy/partition. Replaces a same-named property. Extended properties are structured metadata (e.g. the ParameterMetadata tag on field-parameter columns).
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>",
"objectName": "<objectName>",
"name": "<name>",
"value": "<value>"
},
"name": "set_extended_property"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | property name | |
| type | No | String | Json (default String) | String |
| table | No | the object's table (required for column/measure/hierarchy/partition) | |
| value | Yes | property value (a JSON string when type=Json) | |
| sessionId | Yes | ||
| objectName | Yes | the object's name | |
| objectType | Yes | model | table | column | measure | hierarchy | partition |