set_list_buffer
Buffer a referenced list or table in Power Query M to cache repeated reads and improve query performance.
Instructions
Perf heuristic: wrap a referenced list/table in List.Buffer / Table.Buffer to cache it for repeated reads (complements set_query_buffer). kind = list | table. referenceExpr is the raw M reference to buffer. Appends one step to the table's M query.
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>",
"referenceExpr": "<referenceExpr>"
},
"name": "set_list_buffer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | list | table (default list) | list |
| table | Yes | ||
| sessionId | Yes | ||
| partitionName | No | partition name (optional; defaults to the first partition) | |
| referenceExpr | Yes | the raw M list/table reference to buffer |