Back to Genai Toolbox

looker-get-projects

docs/en/integrations/looker/tools/looker-get-projects.md

1.1.01.1 KB
Original Source

About

A looker-get-projects tool returns all the projects in the source.

looker-get-projects accepts no parameters.

Compatible Sources

{{< compatible-sources >}}

Example

yaml
kind: tool
name: get_projects
type: looker-get-projects
source: looker-source
description: |
  This tool retrieves a list of all LookML projects available on the Looker instance.
  It is useful for identifying projects before performing actions like retrieving
  project files or making modifications.

  Parameters:
  This tool takes no parameters.

  Output:
  A JSON array of objects, each containing the `project_id` and `project_name`
  for a LookML project.

Reference

fieldtyperequireddescription
typestringtrueMust be "looker-get-projects".
sourcestringtrueName of the source Looker instance.
descriptionstringtrueDescription of the tool that is passed to the LLM.