Files
genai-toolbox/docs/en/resources/tools/looker/looker-make-look.md
Dr. Strangelove eb793398cd feat(tools/looker): add ability to set destination folder with make_look and make_dashboard. (#2245)
## Description

When running with a service account, the user has no personal folder id.
This allows a destination
folder to be specified as part of the call to make_dashboard and
make_look. If a folder is not specified
the user's personal folder will be used.

## PR Checklist

> Thank you for opening a Pull Request! Before submitting your PR, there
are a
> few things you can do to make sure it goes smoothly:

- [x] Make sure you reviewed

[CONTRIBUTING.md](https://github.com/googleapis/genai-toolbox/blob/main/CONTRIBUTING.md)
- [x] Make sure to open an issue as a

[bug/issue](https://github.com/googleapis/genai-toolbox/issues/new/choose)
  before writing your code! That way we can discuss the change, evaluate
  designs, and agree on the general idea
- [x] Ensure the tests and linter pass
- [x] Code coverage does not decrease (if any source code was changed)
- [x] Appropriate docs were updated (if necessary)
- [x] Make sure to add `!` if this involve a breaking change

🛠️ Fixes #2225

---------

Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
2026-01-06 17:30:20 +00:00

2.4 KiB

title, type, weight, description, aliases
title type weight description aliases
looker-make-look docs 1 "looker-make-look" generates a Looker look in the users personal folder in Looker
/resources/tools/looker-make-look

About

The looker-make-look creates a saved Look in the user's Looker personal folder.

It's compatible with the following sources:

looker-make-look takes twelve parameters:

  1. the model
  2. the explore
  3. the fields list
  4. an optional set of filters
  5. an optional set of pivots
  6. an optional set of sorts
  7. an optional limit
  8. an optional tz
  9. an optional vis_config
  10. the title
  11. an optional description
  12. an optional folder id. If not provided, the user's default folder will be used.

Example

tools:
    make_look:
        kind: looker-make-look
        source: looker-source
        description: |
          This tool creates a new Look (saved query with visualization) in Looker.
          The Look will be saved in the user's personal folder, and its name must be unique.

          Required Parameters:
          - title: A unique title for the new Look.
          - description: A brief description of the Look's purpose.
          - model_name: The name of the LookML model (from `get_models`).
          - explore_name: The name of the explore (from `get_explores`).
          - fields: A list of field names (dimensions, measures, filters, or parameters) to include in the query.

          Optional Parameters:
          - pivots, filters, sorts, limit, query_timezone: These parameters are identical
            to those described for the `query` tool.
          - vis_config: A JSON object defining the visualization settings for the Look.
            The structure and options are the same as for the `query_url` tool's `vis_config`.

          Output:
          A JSON object containing a link (`url`) to the newly created Look, along with its `id` and `slug`.

Reference

field type required description
kind string true Must be "looker-make-look"
source string true Name of the source the SQL should execute on.
description string true Description of the tool that is passed to the LLM.