set_partition_mode
Set a partition's storage mode to Import, DirectQuery, Dual, or DirectLake. Combine Dual and DirectQuery to build hybrid tables.
Instructions
Set a partition's storage mode: Import | DirectQuery | Dual | DirectLake. Defaults to the table's first partition. Use Dual + a DirectQuery partition with set_data_coverage to build a hybrid (Import + DirectQuery) table. (Switching to DirectLake/DirectQuery may also need the matching partition source kind; this flips the Mode flag.)
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>",
"table": "<table>",
"mode": "<mode>"
},
"name": "set_partition_mode"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Import | DirectQuery | Dual | DirectLake | |
| table | Yes | ||
| partition | No | partition name (optional; defaults to the first partition) | |
| sessionId | Yes |