set_translation
Set translated Caption, Description, or DisplayFolder for Power BI model objects in a specific culture. Supports tables, columns, measures, hierarchies, and models after running add_culture.
Instructions
Set a translated Caption, Description or DisplayFolder for a model object in a culture. objectType = table | column | measure | hierarchy | model. For a column/measure/hierarchy, also pass its table. Run add_culture first.
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>",
"culture": "<culture>",
"objectType": "<objectType>",
"objectName": "<objectName>",
"property": "<property>",
"value": "<value>"
},
"name": "set_translation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| table | No | the object's table (required for column/measure/hierarchy) | |
| value | Yes | the translated text | |
| culture | Yes | culture/locale, e.g. fr-FR | |
| property | Yes | Caption | Description | DisplayFolder | |
| sessionId | Yes | ||
| objectName | Yes | the object's name (the model name for objectType=model) | |
| objectType | Yes | table | column | measure | hierarchy | model |