looker-get-explores
A “looker-get-explores” tool returns all explores for the given model from the source.
About
A looker-get-explores tool returns all explores
for a given model from the source.
It’s compatible with the following sources:
looker-get-explores accepts one parameter, the
model id.
The return type is an array of maps, each map is formatted like:
{
"name": "explore name",
"description": "explore description",
"label": "explore label",
"group_label": "group label"
}
Example
tools:
get_explores:
kind: looker-get-explores
source: looker-source
description: |
This tool retrieves a list of explores defined within a specific LookML model.
Explores represent a curated view of your data, typically joining several
tables together to allow for focused analysis on a particular subject area.
The output provides details like the explore's `name` and `label`.
Parameters:
- model_name (required): The name of the LookML model, obtained from `get_models`.
Reference
| field | type | required | description |
|---|---|---|---|
| kind | string | true | Must be “looker-get-explores”. |
| 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. |