looker-get-parameters
A “looker-get-parameters” tool returns all the parameters from a given explore in a given model in the source.
About
A looker-get-parameters
tool returns all the parameters from a given explore
in a given model in the source.
It’s compatible with the following sources:
looker-get-parameters
accepts two parameters, the model
and the explore
.
Example
tools:
get_parameters:
kind: looker-get-parameters
source: looker-source
description: |
The get_parameters tool retrieves the list of parameters defined in
an explore.
It takes two parameters, the model_name looked up from get_models and the
explore_name looked up from get_explores.
The response is a json array with the following elements:
{
"name": "field name",
"description": "field description",
"type": "field type",
"label": "field label",
"label_short": "field short label",
"tags": ["tags", ...],
"synonyms": ["synonyms", ...],
"suggestions": ["suggestion", ...],
"suggest_explore": "explore",
"suggest_dimension": "dimension"
}
Reference
field | type | required | description |
---|---|---|---|
kind | string | true | Must be “looker-get-parameters”. |
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. |