looker-query-url

“looker-query-url” generates a url link to a Looker explore.

About

The looker-query-url generates a url link to an explore in Looker so the query can be investigated further.

It’s compatible with the following sources:

looker-query-url takes eight 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

Example

tools:
    query_url:
        kind: looker-query-url
        source: looker-source
        description: |
          Query URL Tool

          This tool is used to generate the URL of a query in Looker.
          The user can then explore the query further inside Looker.
          The tool also returns the query_id and slug. The parameters
          are the same as the `looker-query` tool.

Reference

fieldtyperequireddescription
kindstringtrueMust be “looker-query-url”
sourcestringtrueName of the source the SQL should execute on.
descriptionstringtrueDescription of the tool that is passed to the LLM.