bw_get_query
Read a BW Query definition—variables, filters, layout, calculated measures, exceptions. Supports text or raw JSON output. Falls back to inactive version if active not found.
Instructions
Read a BW Query definition — variables, filter, layout (rows/columns/free characteristics), calculated and restricted measures, exceptions, and cell definitions. Tries the active version first; falls back to the inactive version if not found. format="text" (default): compact human-readable output. format="raw": full parsed JSON.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_name | Yes | Technical name of the query (e.g. "QUERY_NAME"). | |
| format | No | "text" (default): structured human-readable output. "raw": full parsed JSON. |