---
title: "looker-get-projects"
type: docs
weight: 1
description: >
  A "looker-get-projects" tool returns all the LookML projects in the 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

| **field**   | **type** | **required** | **description**                                    |
|-------------|:--------:|:------------:|----------------------------------------------------|
| type        |  string  |     true     | Must be "looker-get-projects".                     |
| source      |  string  |     true     | Name of the source Looker instance.                |
| description |  string  |     true     | Description of the tool that is passed to the LLM. |
