Files
genai-toolbox/docs/en/resources/tools/looker/looker-validate-project.md
2025-12-30 14:28:16 -05:00

1.5 KiB

title, type, weight, description, aliases
title type weight description aliases
looker-validate-project docs 1 A "looker-validate-project" tool checks the syntax of a LookML project and reports any errors
/resources/tools/looker-validate-project

About

A "looker-validate-project" tool checks the syntax of a LookML project and reports any errors

It's compatible with the following sources:

looker-validate-project accepts a project_id parameter.

Example

tools:
    validate_project:
        kind: looker-validate-project
        source: looker-source
        description: |
          This tool checks a LookML project for syntax errors.

          Prerequisite: The Looker session must be in Development Mode. Use `dev_mode: true` first.

          Parameters:
          - project_id (required): The unique ID of the LookML project.

          Output:
          A list of error details including the file path and line number, and also a list of models
          that are not currently valid due to LookML errors.

Reference

field type required description
kind string true Must be "looker-validate-project".
source string true Name of the source Looker instance.
description string true Description of the tool that is passed to the LLM.