looker-add-dashboard-element
“looker-add-dashboard-element” creates a dashboard element in the given dashboard.
About
The looker-add-dashboard-element creates a dashboard element
in the given dashboard.
It’s compatible with the following sources:
looker-add-dashboard-element takes eleven parameters:
- the
model - the
explore - the
fieldslist - an optional set of
filters - an optional set of
pivots - an optional set of
sorts - an optional
limit - an optional
tz - an optional
vis_config - the
title - the
dashboard_id
Example
tools:
add_dashboard_element:
kind: looker-add-dashboard-element
source: looker-source
description: |
add_dashboard_element Tool
This tool creates a new tile in a Looker dashboard using
the query parameters and the vis_config specified.
Most of the parameters are the same as the query_url
tool. In addition, there is a title that may be provided.
The dashboard_id must be specified. That is obtained
from calling make_dashboard.
This tool can be called many times for one dashboard_id
and the resulting tiles will be added in order.
Reference
| field | type | required | description |
|---|---|---|---|
| kind | string | true | Must be “looker-add-dashboard-element” |
| 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. |